/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | EncryptedPrivateKeyInfo.java | 47 private AlgorithmId algid; field in class:EncryptedPrivateKeyInfo 71 this.algid = AlgorithmId.parse(seq[0]); 87 EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) { argument 88 this.algid = algid; 97 return this.algid; 119 algid.encode(tmp);
|
H A D | PrivateKeyInfo.java | 54 private AlgorithmId algid; field in class:PrivateKeyInfo 76 this.algid = AlgorithmId.parse(val.data.getDerValue()); 88 return this.algid;
|
H A D | DHPrivateKey.java | 146 DerValue algid = val.data.getDerValue(); 147 if (algid.tag != DerValue.tag_Sequence) { 150 DerInputStream derInStream = algid.toDerInputStream(); 230 DerOutputStream algid = new DerOutputStream(); 233 algid.putOID(new ObjectIdentifier(DH_data)); 243 // store parameter SEQUENCE in algid 244 algid.putDerValue(paramSequence); 245 // wrap algid into SEQUENCE 246 tmp.write(DerValue.tag_Sequence, algid);
|
H A D | DHPublicKey.java | 134 DerValue algid = derKeyVal.data.getDerValue(); 135 if (algid.tag != DerValue.tag_Sequence) { 138 DerInputStream derInStream = algid.toDerInputStream(); 208 DerOutputStream algid = new DerOutputStream(); 210 // store oid in algid 211 algid.putOID(new ObjectIdentifier(DH_data)); 222 // store parameter SEQUENCE in algid 223 algid.putDerValue(paramSequence); 225 // wrap algid into SEQUENCE, and store it in key encoding 227 tmpDerKey.write(DerValue.tag_Sequence, algid); [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | EncryptedPrivateKeyInfo.java | 50 private AlgorithmId algid; field in class:EncryptedPrivateKeyInfo 80 this.algid = AlgorithmId.parse(seq[0]); 96 public EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) { argument 97 this.algid = algid; 105 return this.algid; 127 algid.encode(tmp);
|
H A D | PKCS8Key.java | 58 protected AlgorithmId algid; field in class:PKCS8Key 81 private PKCS8Key (AlgorithmId algid, byte key []) argument 83 this.algid = algid; 168 static PrivateKey buildPKCS8Key (AlgorithmId algid, byte[] key) argument 172 * Use the algid and key parameters to produce the ASN.1 encoding 177 encode(pkcs8EncodedKeyStream, algid, key); 183 KeyFactory keyFac = KeyFactory.getInstance(algid.getName()); 206 algid.getName()); 228 result.algid 397 encode(DerOutputStream out, AlgorithmId algid, byte[] key) argument [all...] |
/openjdk7/jdk/test/sun/security/x509/AlgorithmId/ |
H A D | ExtensibleAlgorithmId.java | 41 AlgorithmId algid = AlgorithmId.getAlgorithmId("XYZ"); 42 String alias = "Alg.Alias.Signature.OID." + algid.toString();
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs12/ |
H A D | MacData.java | 92 AlgorithmId algid = AlgorithmId.get(algName); 93 this.digestAlgorithmName = algid.getName(); 94 this.digestAlgorithmParams = algid.getParameters(); 122 AlgorithmId algid = AlgorithmId.get(algParams); 123 this.digestAlgorithmName = algid.getName(); 124 this.digestAlgorithmParams = algid.getParameters(); 177 AlgorithmId algid = AlgorithmId.get(digestAlgorithmName); 178 algid.encode(tmp2);
|
H A D | PKCS12KeyStore.java | 617 AlgorithmId algid = 620 new EncryptedPrivateKeyInfo(algid, encryptedKey);
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | X509Key.java | 66 protected AlgorithmId algid; field in class:X509Key 103 private X509Key(AlgorithmId algid, BitArray key) argument 105 this.algid = algid; 205 static PublicKey buildX509Key(AlgorithmId algid, BitArray key) argument 209 * Use the algid and key parameters to produce the ASN.1 encoding 214 encode(x509EncodedKeyStream, algid, key); 220 KeyFactory keyFac = KeyFactory.getInstance(algid.getName()); 243 algid.getName()); 265 result.algid 470 encode(DerOutputStream out, AlgorithmId algid, BitArray key) argument [all...] |
H A D | AlgorithmId.java | 66 private ObjectIdentifier algid; field in class:AlgorithmId 94 algid = oid; 104 algid = oid; 111 this.algid = oid; 119 String algidString = algid.toString(); 162 bytes.putOID(algid); 187 algid.equals((Object)SHA_oid) || 188 algid.equals((Object)SHA256_oid) || 189 algid.equals((Object)SHA384_oid) || 190 algid [all...] |
H A D | KeyIdentifier.java | 90 AlgorithmId algid = AlgorithmId.parse(algAndKey.data.getDerValue());
|
/openjdk7/jdk/src/share/classes/sun/security/provider/ |
H A D | DSAPublicKey.java | 88 algid = new AlgIdDSA(p, q, g); 113 if (algid instanceof DSAParams) { 114 return (DSAParams)algid; 117 AlgorithmParameters algParams = algid.getParameters(); 139 return "Sun DSA Public Key\n Parameters:" + algid
|
H A D | DSAPrivateKey.java | 78 algid = new AlgIdDSA(p, q, g); 106 if (algid instanceof DSAParams) { 107 return (DSAParams)algid; 110 AlgorithmParameters algParams = algid.getParameters(); 146 return "Sun DSA Private Key \nparameters:" + algid + "\nx: " +
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | EncryptedPrivateKeyInfo.java | 61 private AlgorithmId algid; field in class:EncryptedPrivateKeyInfo 95 this.algid = AlgorithmId.parse(seq[0]); 137 this.algid = AlgorithmId.get(algName); 178 this.algid = AlgorithmId.get(algParams); 208 return this.algid.getName(); 216 return this.algid.getParameters(); 282 c = Cipher.getInstance(algid.getName()); 284 c = Cipher.getInstance(algid.getName(), provider); 286 c.init(Cipher.DECRYPT_MODE, decryptKey, algid.getParameters()); 407 algid [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ec/ |
H A D | ECPublicKeyImpl.java | 59 algid = new AlgorithmId 97 AlgorithmParameters algParams = this.algid.getParameters();
|
H A D | ECPrivateKeyImpl.java | 86 algid = new AlgorithmId 144 AlgorithmParameters algParams = this.algid.getParameters();
|
/openjdk7/jdk/src/share/classes/sun/security/rsa/ |
H A D | RSAPrivateKeyImpl.java | 66 algid = RSAPrivateCrtKeyImpl.rsaId;
|
H A D | RSAPublicKeyImpl.java | 65 algid = RSAPrivateCrtKeyImpl.rsaId;
|
H A D | RSAPrivateCrtKeyImpl.java | 113 algid = rsaId;
|
/openjdk7/jdk/test/sun/security/pkcs12/ |
H A D | PKCS12SameKeyId.java | 72 AlgorithmId algid = new AlgorithmId( 96 keys[i] = new EncryptedPrivateKeyInfo(algid, enckey).getEncoded();
|
/openjdk7/jdk/src/macosx/classes/apple/security/ |
H A D | KeychainStore.java | 1106 AlgorithmId algid = 1109 new EncryptedPrivateKeyInfo(algid, encryptedKey);
|