|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.atlassian.security.auth.trustedapps.DefaultEncryptedCertificate
| Constructor Summary | |
DefaultEncryptedCertificate(java.lang.String id,
java.lang.String key,
java.lang.String certificate)
Constructor for protocol '0' certificates |
|
DefaultEncryptedCertificate(java.lang.String id,
java.lang.String key,
java.lang.String certificate,
java.lang.Integer protocolVersion,
java.lang.String magic)
|
|
| Method Summary | |
java.lang.String |
getCertificate()
String that contains three lines: |
java.lang.String |
getID()
ID of the trusted application that encrypted this certificate |
java.lang.String |
getMagicNumber()
Magic Number for Transmission decryption validation. |
java.lang.Integer |
getProtocolVersion()
Protocol version. |
java.lang.String |
getSecretKey()
Secret Key for decrypting the certificate. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultEncryptedCertificate(java.lang.String id,
java.lang.String key,
java.lang.String certificate)
id - The application idkey - The application public keycertificate - The certificate string
public DefaultEncryptedCertificate(java.lang.String id,
java.lang.String key,
java.lang.String certificate,
java.lang.Integer protocolVersion,
java.lang.String magic)
| Method Detail |
public java.lang.String getCertificate()
EncryptedCertificateEncrypted with the secret key and Base64 encoded
getCertificate in interface EncryptedCertificatepublic java.lang.String getID()
EncryptedCertificate
getID in interface EncryptedCertificatepublic java.lang.String getSecretKey()
EncryptedCertificateEncrypted with the private key of the trusted application and Base64 encoded
getSecretKey in interface EncryptedCertificatepublic java.lang.Integer getProtocolVersion()
EncryptedCertificateNot encrypted.
getProtocolVersion in interface EncryptedCertificatepublic java.lang.String getMagicNumber()
EncryptedCertificateEncrypted with the private key of the trusted application and Base64 encoded
getMagicNumber in interface EncryptedCertificate
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||