1 7 8 15 16 package javax.crypto; 17 18 import java.io.*; 19 import java.security.*; 20 import java.security.spec.*; 21 22 import sun.security.x509.AlgorithmId; 23 import sun.security.util.DerValue; 24 import sun.security.util.DerInputStream; 25 import sun.security.util.DerOutputStream; 26 27 50 public class EncryptedPrivateKeyInfo 51 { 52 53 61 public EncryptedPrivateKeyInfo(byte[] encoded) throws IOException { } 62 63 87 public EncryptedPrivateKeyInfo(String algName, byte[] encryptedData) 88 throws NoSuchAlgorithmException 89 { } 90 91 110 public EncryptedPrivateKeyInfo(AlgorithmParameters algParams, byte[] 111 encryptedData) throws NoSuchAlgorithmException 112 { } 113 114 125 public String getAlgName() { } 126 127 131 public AlgorithmParameters getAlgParameters() { } 132 133 138 public byte[] getEncryptedData() { } 139 140 158 public PKCS8EncodedKeySpec getKeySpec(Cipher cipher) 159 throws InvalidKeySpecException 160 { } 161 162 175 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey) 176 throws NoSuchAlgorithmException, InvalidKeyException 177 { } 178 179 196 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, String providerName) 197 throws NoSuchProviderException, NoSuchAlgorithmException, 198 InvalidKeyException 199 { } 200 201 216 public PKCS8EncodedKeySpec getKeySpec(Key decryptKey, Provider provider) 217 throws NoSuchAlgorithmException, InvalidKeyException 218 { } 219 220 227 public byte[] getEncoded() throws IOException { } 228 } 229 | Popular Tags |