From ba19b464758e49faa8c8813fe537c300724efaac Mon Sep 17 00:00:00 2001 From: "nicolson%netscape.com" Date: Fri, 24 Aug 2001 05:14:55 +0000 Subject: [PATCH] Add getEncryptedPrivateKeyInfo. --- security/jss/org/mozilla/jss/crypto/CryptoStore.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/security/jss/org/mozilla/jss/crypto/CryptoStore.java b/security/jss/org/mozilla/jss/crypto/CryptoStore.java index 1edda891a42f..4fb99525148c 100644 --- a/security/jss/org/mozilla/jss/crypto/CryptoStore.java +++ b/security/jss/org/mozilla/jss/crypto/CryptoStore.java @@ -87,6 +87,10 @@ public interface CryptoStore { public void deletePrivateKey(org.mozilla.jss.crypto.PrivateKey key) throws NoSuchItemOnTokenException, TokenException; + + public byte[] getEncryptedPrivateKeyInfo(X509Certificate cert, + PBEAlgorithm pbeAlg, Password pw, int iteration); + //////////////////////////////////////////////////////////// // Certs ////////////////////////////////////////////////////////////