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

/libcore/ojluni/src/main/java/sun/security/pkcs/
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
386 encode(DerOutputStream out, AlgorithmId algid, byte[] key) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/x509/
H A DX509Key.java65 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.java67 private ObjectIdentifier algid; field in class:AlgorithmId
95 algid = oid;
105 algid = oid;
112 this.algid = oid;
120 String algidString = algid.toString();
156 bytes.putOID(algid);
181 algid.equals((Object)SHA_oid) ||
182 algid.equals((Object)SHA224_oid) ||
183 algid.equals((Object)SHA256_oid) ||
184 algid
[all...]
H A DKeyIdentifier.java90 AlgorithmId algid = AlgorithmId.parse(algAndKey.data.getDerValue());
/libcore/ojluni/src/main/java/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();
269 c = Cipher.getInstance(algid.getName());
271 c = Cipher.getInstance(algid.getName(), provider);
273 c.init(Cipher.DECRYPT_MODE, decryptKey, algid.getParameters());
387 algid
[all...]

Completed in 77 milliseconds