com.netscape.certsrv.security
Interface ITransportKeyUnit

All Superinterfaces:
IEncryptionUnit, IToken

public interface ITransportKeyUnit
extends IEncryptionUnit

An interface represents the transport key pair. This key pair is used to protected EE's private key in transit.

Version:
$Revision: 1473 $, $Date: 2010-11-04 12:36:19 -0700 (Thu, 04 Nov 2010) $

Method Summary
 org.mozilla.jss.crypto.X509Certificate getCertificate()
          Retrieves public key.
 java.lang.String getSigningAlgorithm()
           
 org.mozilla.jss.crypto.CryptoToken getToken()
           
 void setSigningAlgorithm(java.lang.String str)
           
 org.mozilla.jss.crypto.SymmetricKey unwrap_encrypt_sym(byte[] encSymmKey)
           
 org.mozilla.jss.crypto.SymmetricKey unwrap_sym(byte[] encSymmKey)
           
 org.mozilla.jss.crypto.PrivateKey unwrap_temp(byte[] wrappedKeyData, java.security.PublicKey pubKey)
           
 
Methods inherited from interface com.netscape.certsrv.security.IEncryptionUnit
decryptExternalPrivate, decryptInternalPrivate, encryptInternalPrivate, getPublicKey, unwrap, unwrap, verify, wrap
 
Methods inherited from interface com.netscape.certsrv.security.IToken
login, logout
 

Method Detail

getCertificate

org.mozilla.jss.crypto.X509Certificate getCertificate()
Retrieves public key.

Returns:
certificate

unwrap_sym

org.mozilla.jss.crypto.SymmetricKey unwrap_sym(byte[] encSymmKey)

unwrap_encrypt_sym

org.mozilla.jss.crypto.SymmetricKey unwrap_encrypt_sym(byte[] encSymmKey)

unwrap_temp

org.mozilla.jss.crypto.PrivateKey unwrap_temp(byte[] wrappedKeyData,
                                              java.security.PublicKey pubKey)
                                              throws EBaseException
Throws:
EBaseException

getToken

org.mozilla.jss.crypto.CryptoToken getToken()

getSigningAlgorithm

java.lang.String getSigningAlgorithm()
                                     throws EBaseException
Throws:
EBaseException

setSigningAlgorithm

void setSigningAlgorithm(java.lang.String str)
                         throws EBaseException
Throws:
EBaseException