Searched refs:algid (Results 1 - 22 of 22) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DEncryptedPrivateKeyInfo.java47 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 DPrivateKeyInfo.java54 private AlgorithmId algid; field in class:PrivateKeyInfo
76 this.algid = AlgorithmId.parse(val.data.getDerValue());
88 return this.algid;
H A DDHPrivateKey.java146 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 DDHPublicKey.java134 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 DEncryptedPrivateKeyInfo.java50 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 DPKCS8Key.java58 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 DExtensibleAlgorithmId.java41 AlgorithmId algid = AlgorithmId.getAlgorithmId("XYZ");
42 String alias = "Alg.Alias.Signature.OID." + algid.toString();
/openjdk7/jdk/src/share/classes/sun/security/pkcs12/
H A DMacData.java92 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 DPKCS12KeyStore.java617 AlgorithmId algid =
620 new EncryptedPrivateKeyInfo(algid, encryptedKey);
/openjdk7/jdk/src/share/classes/sun/security/x509/
H A DX509Key.java66 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 DAlgorithmId.java66 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 DKeyIdentifier.java90 AlgorithmId algid = AlgorithmId.parse(algAndKey.data.getDerValue());
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAPublicKey.java88 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 DDSAPrivateKey.java78 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 DEncryptedPrivateKeyInfo.java61 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 DECPublicKeyImpl.java59 algid = new AlgorithmId
97 AlgorithmParameters algParams = this.algid.getParameters();
H A DECPrivateKeyImpl.java86 algid = new AlgorithmId
144 AlgorithmParameters algParams = this.algid.getParameters();
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSAPrivateKeyImpl.java66 algid = RSAPrivateCrtKeyImpl.rsaId;
H A DRSAPublicKeyImpl.java65 algid = RSAPrivateCrtKeyImpl.rsaId;
H A DRSAPrivateCrtKeyImpl.java113 algid = rsaId;
/openjdk7/jdk/test/sun/security/pkcs12/
H A DPKCS12SameKeyId.java72 AlgorithmId algid = new AlgorithmId(
96 keys[i] = new EncryptedPrivateKeyInfo(algid, enckey).getEncoded();
/openjdk7/jdk/src/macosx/classes/apple/security/
H A DKeychainStore.java1106 AlgorithmId algid =
1109 new EncryptedPrivateKeyInfo(algid, encryptedKey);

Completed in 1305 milliseconds