com.atlassian.bamboo.security.trustedapplications
Class KeyUtils
java.lang.Object
com.atlassian.bamboo.security.trustedapplications.KeyUtils
public class KeyUtils
- extends java.lang.Object
Method Summary |
static java.security.PrivateKey |
decodePrivateKey(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider,
java.lang.String keyStr)
|
static java.security.PublicKey |
decodePublicKey(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider,
java.lang.String keyStr)
|
static java.lang.String |
encode(java.security.Key key)
|
static java.security.KeyPair |
generateNewKeyPair(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyUtils
public KeyUtils()
generateNewKeyPair
public static java.security.KeyPair generateNewKeyPair(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider)
encode
public static java.lang.String encode(java.security.Key key)
decodePrivateKey
public static java.security.PrivateKey decodePrivateKey(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider,
java.lang.String keyStr)
decodePublicKey
public static java.security.PublicKey decodePublicKey(com.atlassian.security.auth.trustedapps.EncryptionProvider encryptionProvider,
java.lang.String keyStr)
Copyright © 2012 Atlassian. All Rights Reserved.