summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/certsrv/security/ITransportKeyUnit.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv/security/ITransportKeyUnit.java')
-rw-r--r--pki/base/common/src/com/netscape/certsrv/security/ITransportKeyUnit.java25
1 files changed, 11 insertions, 14 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/security/ITransportKeyUnit.java b/pki/base/common/src/com/netscape/certsrv/security/ITransportKeyUnit.java
index 96fa74f41..2edfa12a9 100644
--- a/pki/base/common/src/com/netscape/certsrv/security/ITransportKeyUnit.java
+++ b/pki/base/common/src/com/netscape/certsrv/security/ITransportKeyUnit.java
@@ -17,6 +17,7 @@
// --- END COPYRIGHT BLOCK ---
package com.netscape.certsrv.security;
+
import java.security.PublicKey;
import org.mozilla.jss.crypto.CryptoToken;
@@ -25,31 +26,27 @@ import org.mozilla.jss.crypto.SymmetricKey;
import com.netscape.certsrv.base.EBaseException;
+
/**
- * An interface represents the transport key pair. This key pair is used to
- * protected EE's private key in transit.
- *
+ * An interface represents the transport key pair.
+ * This key pair is used to protected EE's private
+ * key in transit.
+ *
* @version $Revision$, $Date$
*/
public interface ITransportKeyUnit extends IEncryptionUnit {
/**
* Retrieves public key.
- *
+ *
* @return certificate
*/
public org.mozilla.jss.crypto.X509Certificate getCertificate();
-
public SymmetricKey unwrap_sym(byte encSymmKey[]);
-
public SymmetricKey unwrap_encrypt_sym(byte encSymmKey[]);
-
- public PrivateKey unwrap_temp(byte wrappedKeyData[], PublicKey pubKey)
- throws EBaseException;
-
+ public PrivateKey unwrap_temp(byte wrappedKeyData[], PublicKey
+ pubKey) throws EBaseException;
public CryptoToken getToken();
-
- public String getSigningAlgorithm() throws EBaseException;
-
- public void setSigningAlgorithm(String str) throws EBaseException;
+ public String getSigningAlgorithm() throws EBaseException;
+ public void setSigningAlgorithm(String str) throws EBaseException;
}