com.atlassian.security.auth.trustedapps
Interface EncryptedCertificate

All Known Implementing Classes:
DefaultEncryptedCertificate

public interface EncryptedCertificate

Contains the encoded certificate information to be included in the trusted requests between applications. The provided information to be set in the request header using the following parameters: TrustedApplicationUtils.Header.Request.ID TrustedApplicationUtils.Header.Request.CERTIFICATE TrustedApplicationUtils.Header.Request.SECRET_KEY


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.
 

Method Detail

getID

public java.lang.String getID()
ID of the trusted application that encrypted this certificate


getSecretKey

public java.lang.String getSecretKey()
Secret Key for decrypting the certificate.

Encrypted with the private key of the trusted application and Base64 encoded


getCertificate

public java.lang.String getCertificate()
String that contains three lines:

Encrypted with the secret key and Base64 encoded


getProtocolVersion

public java.lang.Integer getProtocolVersion()
Protocol version.

Not encrypted.


getMagicNumber

public java.lang.String getMagicNumber()
Magic Number for Transmission decryption validation.

Encrypted with the private key of the trusted application and Base64 encoded



Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.