Class RSAKeys
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.applink.oauth.RSAKeys
-
public class RSAKeys extends Object
-
-
Constructor Summary
Constructors Constructor Description RSAKeys()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyPair
generateKeyPair()
Returns a newly created RSA public/privateKeyPair
.
-
-
-
Method Detail
-
generateKeyPair
public static KeyPair generateKeyPair() throws NoSuchAlgorithmException
Returns a newly created RSA public/privateKeyPair
.- Returns:
- newly created RSA public/private
KeyPair
- Throws:
NoSuchAlgorithmException
- thrown if there are no RSA providers available
-
-