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) $
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