Class DefaultInstanceKeyPairProvider
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.provider.DefaultInstanceKeyPairProvider
-
- All Implemented Interfaces:
InstanceKeyPairProvider
@Singleton public class DefaultInstanceKeyPairProvider extends Object implements InstanceKeyPairProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultInstanceKeyPairProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RSAPrivateKey
getPrivate()
Returns a private RSA key associated with this instanceRSAPublicKey
getPublic()
Returns a public RSA key associated with this instance
-
-
-
Method Detail
-
getPrivate
public RSAPrivateKey getPrivate()
Description copied from interface:InstanceKeyPairProvider
Returns a private RSA key associated with this instance- Specified by:
getPrivate
in interfaceInstanceKeyPairProvider
- Returns:
- the private key
-
getPublic
public RSAPublicKey getPublic()
Description copied from interface:InstanceKeyPairProvider
Returns a public RSA key associated with this instance- Specified by:
getPublic
in interfaceInstanceKeyPairProvider
- Returns:
- the public key
-
-