/openjdk7/jdk/test/sun/security/pkcs/EncryptedPrivateKeyInfo/ |
H A D | EncryptedPKInfoEqualsHashCode.java | 41 EncryptedPrivateKeyInfo ev1; 42 EncryptedPrivateKeyInfo ev2; 55 ev1 = new EncryptedPrivateKeyInfo(dh, key1); 56 ev2 = new EncryptedPrivateKeyInfo(dh, key1);
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | EncryptedPrivateKeyInfo.java | 34 * This class implements the <code>EncryptedPrivateKeyInfo</code> type, 38 * EncryptedPrivateKeyInfo ::= SEQUENCE { 47 public class EncryptedPrivateKeyInfo { class 59 * Constructs (i.e., parses) an <code>EncryptedPrivateKeyInfo</code> from 62 public EncryptedPrivateKeyInfo(byte[] encoded) method in class:EncryptedPrivateKeyInfo 93 * Constructs an <code>EncryptedPrivateKeyInfo</code> from the 96 public EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) { method in class:EncryptedPrivateKeyInfo 142 if (!(other instanceof EncryptedPrivateKeyInfo)) 147 = ((EncryptedPrivateKeyInfo)other).getEncoded(); 161 * Returns a hashcode for this EncryptedPrivateKeyInfo [all...] |
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | EncryptedPrivateKeyInfo.java | 33 * This class implements the <code>EncryptedPrivateKeyInfo</code> type, 37 * EncryptedPrivateKeyInfo ::= SEQUENCE { 44 final class EncryptedPrivateKeyInfo { class 56 * Constructs (i.e., parses) an <code>EncryptedPrivateKeyInfo</code> from 59 EncryptedPrivateKeyInfo(byte[] encoded) throws IOException { method in class:EncryptedPrivateKeyInfo 84 * Constructs an <code>EncryptedPrivateKeyInfo</code> from the 87 EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) { method in class:EncryptedPrivateKeyInfo
|
H A D | KeyProtector.java | 133 // wrap encrypted private key in EncryptedPrivateKeyInfo 141 return new EncryptedPrivateKeyInfo(encrAlg,encrKey).getEncoded(); 148 Key recover(EncryptedPrivateKeyInfo encrInfo)
|
H A D | JceKeyStore.java | 52 * namely the <code>EncryptedPrivateKeyInfo</code> format defined in PKCS #8. 123 EncryptedPrivateKeyInfo encrInfo; 125 encrInfo = new EncryptedPrivateKeyInfo(encrBytes); 129 "EncryptedPrivateKeyInfo");
|
/openjdk7/jdk/test/javax/crypto/EncryptedPrivateKeyInfo/ |
H A D | GetAlgName.java | 27 * @summary Test the EncryptedPrivateKeyInfo.getAlgName(...) methods. 50 EncryptedPrivateKeyInfo epki; 62 epki = new EncryptedPrivateKeyInfo(ap, BYTES);
|
H A D | GetKeySpecException2.java | 28 * with wrong mode with EncryptedPrivateKeyInfo.getKeySpec 50 // generate encrypted data and EncryptedPrivateKeyInfo objects 51 EncryptedPrivateKeyInfo epki = 52 new EncryptedPrivateKeyInfo(cipherAlg, encryptedData);
|
H A D | GetKeySpec.java | 27 * @summary Test the EncryptedPrivateKeyInfo.getKeySpec(...) methods. 107 // generate encrypted data and EncryptedPrivateKeyInfo object 108 EncryptedPrivateKeyInfo epki = 109 new EncryptedPrivateKeyInfo(GOOD_PARAMS, encryptedData);
|
H A D | GetKeySpecInvalidEncoding.java | 27 * @summary Test the EncryptedPrivateKeyInfo.getKeySpec(...) 106 // generate encrypted data and EncryptedPrivateKeyInfo object 107 EncryptedPrivateKeyInfo epki = 108 new EncryptedPrivateKeyInfo(GOOD_PARAMS, encryptedData);
|
H A D | GetKeySpecException.java | 29 * EncryptedPrivateKeyInfo.getKeySpec(...) methods. 120 // generate encrypted data and EncryptedPrivateKeyInfo objects 121 EncryptedPrivateKeyInfo epki = 122 new EncryptedPrivateKeyInfo(GOOD_PARAMS, encryptedData); 123 EncryptedPrivateKeyInfo epkiBad = 124 new EncryptedPrivateKeyInfo(BAD_PARAMS, encryptedData);
|
/openjdk7/jdk/test/sun/security/util/Oid/ |
H A D | OidFormat.java | 37 import javax.crypto.EncryptedPrivateKeyInfo; 167 new EncryptedPrivateKeyInfo(s, new byte[8]);
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | EncryptedPrivateKeyInfo.java | 37 * This class implements the <code>EncryptedPrivateKeyInfo</code> type 42 * EncryptedPrivateKeyInfo ::= SEQUENCE { 58 public class EncryptedPrivateKeyInfo { class 70 * Constructs (i.e., parses) an <code>EncryptedPrivateKeyInfo</code> from 77 public EncryptedPrivateKeyInfo(byte[] encoded) method in class:EncryptedPrivateKeyInfo 107 * Constructs an <code>EncryptedPrivateKeyInfo</code> from the 113 * e.g. EncryptedPrivateKeyInfo(AlgorithmParameters, byte[]), 131 public EncryptedPrivateKeyInfo(String algName, byte[] encryptedData) method in class:EncryptedPrivateKeyInfo 154 * Constructs an <code>EncryptedPrivateKeyInfo</code> from the 161 * <code>EncryptedPrivateKeyInfo</cod 172 public EncryptedPrivateKeyInfo(AlgorithmParameters algParams, method in class:EncryptedPrivateKeyInfo [all...] |
/openjdk7/jdk/test/sun/security/pkcs12/ |
H A D | PKCS12SameKeyId.java | 42 import sun.security.pkcs.EncryptedPrivateKeyInfo; 67 // Prepare EncryptedPrivateKeyInfo parameters, copied from various 96 keys[i] = new EncryptedPrivateKeyInfo(algid, enckey).getEncoded();
|
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | KeyProtector.java | 39 import sun.security.pkcs.EncryptedPrivateKeyInfo; 238 // EncryptedPrivateKeyInfo, and returns its encoding 242 return new EncryptedPrivateKeyInfo(encrAlg,encrKey).getEncoded(); 252 public Key recover(EncryptedPrivateKeyInfo encrInfo)
|
H A D | JavaKeyStore.java | 36 import sun.security.pkcs.EncryptedPrivateKeyInfo; 129 EncryptedPrivateKeyInfo encrInfo; 132 encrInfo = new EncryptedPrivateKeyInfo(encrBytes); 136 + "EncryptedPrivateKeyInfo"); 287 * <code>EncryptedPrivateKeyInfo</code> as defined in the PKCS #8 standard. 306 // key must be encoded as EncryptedPrivateKeyInfo as defined in 309 new EncryptedPrivateKeyInfo(key); 312 + "EncryptedPrivateKeyInfo");
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs12/ |
H A D | PKCS12KeyStore.java | 63 import sun.security.pkcs.EncryptedPrivateKeyInfo; 240 EncryptedPrivateKeyInfo encrInfo = 241 new EncryptedPrivateKeyInfo(encrBytes); 253 + "PKCS#8 EncryptedPrivateKeyInfo: " + ioe); 450 * <code>EncryptedPrivateKeyInfo</code> as defined in the PKCS #8 standard. 468 // key must be encoded as EncryptedPrivateKeyInfo 471 new EncryptedPrivateKeyInfo(key); 474 + " stored as PKCS#8 EncryptedPrivateKeyInfo: " + ioe); 597 * @return encrypted private key encoded as EncryptedPrivateKeyInfo 615 // wrap encrypted private key in EncryptedPrivateKeyInfo [all...] |
/openjdk7/jdk/src/macosx/classes/apple/security/ |
H A D | KeychainStore.java | 40 import sun.security.pkcs.EncryptedPrivateKeyInfo; 173 EncryptedPrivateKeyInfo encrInfo = new EncryptedPrivateKeyInfo(pkcs8KeyData); 185 + "PKCS#8 EncryptedPrivateKeyInfo: " + ioe); 390 * <code>EncryptedPrivateKeyInfo</code> as defined in the PKCS #8 standard. 411 // key must be encoded as EncryptedPrivateKeyInfo as defined in 415 EncryptedPrivateKeyInfo privateKey = new EncryptedPrivateKeyInfo(key); 419 + "EncryptedPrivateKeyInfo"); 1086 * @return encrypted private key encoded as EncryptedPrivateKeyInfo [all...] |