com.atlassian.jira.security.auth.trustedapps
Class KeyFactory
java.lang.Object
com.atlassian.jira.security.auth.trustedapps.KeyFactory
public class KeyFactory
- extends Object
Utility for encoding and decoding PublicKeys. Handles IllegalKeys by returning dummy key instances.
- Since:
- v3.12
Method Summary |
static com.atlassian.security.auth.trustedapps.EncryptionProvider |
getEncryptionProvider()
The EncryptionProvider used to provide public and private key creation methods. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getEncryptionProvider
public static com.atlassian.security.auth.trustedapps.EncryptionProvider getEncryptionProvider()
- The EncryptionProvider used to provide public and private key creation methods.
Hard-coded to return BouncyCastleEncryptionProvider, as that is currently what Seraph uses by default.
- Returns:
- an instance of BouncyCastleEncryptionProvider
Copyright © 2002-2012 Atlassian. All Rights Reserved.