|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.atlassian.security.auth.trustedapps.BaseEncryptionProvider
Base class for encryption provider, provides methods that are not crypto-specific
| Constructor Summary | |
BaseEncryptionProvider()
|
|
| Method Summary | |
java.lang.String |
generateUID()
Generate a unique 32 character String ID. |
Application |
getApplicationCertificate(java.lang.String baseUrl)
Retrieve the application certificate from some other application, over HTTP. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.security.auth.trustedapps.EncryptionProvider |
createEncryptedCertificate, decodeEncryptedCertificate, generateNewKeyPair, toPrivateKey, toPublicKey |
| Constructor Detail |
public BaseEncryptionProvider()
| Method Detail |
public Application getApplicationCertificate(java.lang.String baseUrl)
throws ApplicationRetriever.RetrievalException
EncryptionProvider${baseUrl}/admin/appTrustCertificate. TODO: document the exception policy
getApplicationCertificate in interface EncryptionProviderbaseUrl - the base URL of the application to be queried
ApplicationRetriever.RetrievalExceptionpublic java.lang.String generateUID()
EncryptionProvider
generateUID in interface EncryptionProvider
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||