Home
last modified time | relevance | path

Searched refs:AlgorithmId (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/x509/
DAlgorithmId.java59 public class AlgorithmId implements Serializable, DerEncoder { class
87 public AlgorithmId() { } in AlgorithmId() method in AlgorithmId
94 public AlgorithmId(ObjectIdentifier oid) { in AlgorithmId() method in AlgorithmId
104 public AlgorithmId(ObjectIdentifier oid, AlgorithmParameters algparams) { in AlgorithmId() method in AlgorithmId
110 private AlgorithmId(ObjectIdentifier oid, DerValue params) in AlgorithmId() method in AlgorithmId
242 AlgorithmId paramsId = in getName()
243 AlgorithmId.parse(new DerValue(getEncodedParams())); in getName()
281 public boolean equals(AlgorithmId other) { in equals()
298 if (other instanceof AlgorithmId) { in equals()
299 return equals((AlgorithmId) other); in equals()
[all …]
DCertificateAlgorithmId.java42 private AlgorithmId algId;
67 public CertificateAlgorithmId(AlgorithmId algId) { in CertificateAlgorithmId()
79 algId = AlgorithmId.parse(val); in CertificateAlgorithmId()
90 algId = AlgorithmId.parse(val); in CertificateAlgorithmId()
119 if (!(obj instanceof AlgorithmId)) { in set()
123 algId = (AlgorithmId)obj; in set()
DX509Key.java66 protected AlgorithmId algid;
103 private X509Key(AlgorithmId algid, BitArray key) in X509Key()
162 AlgorithmId algorithm; in parse()
168 algorithm = AlgorithmId.parse(in.data.getDerValue()); in parse()
205 static PublicKey buildX509Key(AlgorithmId algid, BitArray key) in buildX509Key()
291 public AlgorithmId getAlgorithmId() { return algid; } in getAlgorithmId()
389 algid = AlgorithmId.parse(val.data.getDerValue()); in decode()
470 static void encode(DerOutputStream out, AlgorithmId algid, BitArray key) in encode()
DKeyIdentifier.java90 AlgorithmId algid = AlgorithmId.parse(algAndKey.data.getDerValue()); in KeyIdentifier()
DX509CRLImpl.java98 private AlgorithmId sigAlgId = null; // sig alg in CRL
102 private AlgorithmId infoSigAlgId; // sig alg in "to-be-signed" crl
450 sigAlgId = AlgorithmId.get(sigEngine.getAlgorithm()); in sign()
773 public AlgorithmId getSigAlgId() { in getSigAlgId()
1026 sigAlgId = AlgorithmId.parse(seq[1]); in parse()
1054 AlgorithmId tmpId = AlgorithmId.parse(tmp); in parse()
DX509CertImpl.java131 protected AlgorithmId algId = null;
583 algId = AlgorithmId.get(sigEngine.getAlgorithm()); in sign()
1835 algId = AlgorithmId.parse(seq[1]); in parse()
1848 AlgorithmId infoSigAlg = (AlgorithmId)info.get( in parse()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DSignerInfo.java39 import sun.security.x509.AlgorithmId;
55 AlgorithmId digestAlgorithmId;
56 AlgorithmId digestEncryptionAlgorithmId;
64 AlgorithmId digestAlgorithmId, in SignerInfo()
65 AlgorithmId digestEncryptionAlgorithmId, in SignerInfo()
77 AlgorithmId digestAlgorithmId, in SignerInfo()
79 AlgorithmId digestEncryptionAlgorithmId, in SignerInfo()
127 digestAlgorithmId = AlgorithmId.parse(tmp); in SignerInfo()
146 digestEncryptionAlgorithmId = AlgorithmId.parse(tmp); in SignerInfo()
378 String tmp = AlgorithmId.getEncAlgFromSigAlg(encryptionAlgname); in verify()
[all …]
DPKCS8Key.java58 protected AlgorithmId algid;
81 private PKCS8Key (AlgorithmId algid, byte key []) in PKCS8Key()
117 AlgorithmId algorithm; in parseKey()
131 algorithm = AlgorithmId.parse (in.data.getDerValue ()); in parseKey()
168 static PrivateKey buildPKCS8Key (AlgorithmId algid, byte[] key) in buildPKCS8Key()
256 public AlgorithmId getAlgorithmId () { return algid; } in getAlgorithmId()
351 algid = AlgorithmId.parse (val.data.getDerValue ()); in decode()
397 static void encode(DerOutputStream out, AlgorithmId algid, byte[] key) in encode()
DPKCS7.java46 import sun.security.x509.AlgorithmId;
68 private AlgorithmId[] digestAlgorithmIds = null;
186 public PKCS7(AlgorithmId[] digestAlgorithmIds, in PKCS7()
200 public PKCS7(AlgorithmId[] digestAlgorithmIds, in PKCS7()
260 digestAlgorithmIds = new AlgorithmId[len]; in parseSignedData()
264 digestAlgorithmIds[i] = AlgorithmId.parse(oid); in parseSignedData()
392 digestAlgorithmIds = new AlgorithmId[len]; in parseOldSignedData()
396 digestAlgorithmIds[i] = AlgorithmId.parse(oid); in parseOldSignedData()
634 public AlgorithmId[] getDigestAlgorithmIds() { in getDigestAlgorithmIds()
/libcore/ojluni/src/main/java/sun/security/timestamp/
DTimestampToken.java33 import sun.security.x509.AlgorithmId;
78 private AlgorithmId hashAlgorithm;
105 public AlgorithmId getHashAlgorithm() { in getHashAlgorithm()
144 hashAlgorithm = AlgorithmId.parse(messageImprint.data.getDerValue()); in parse()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DCertId.java61 private static final AlgorithmId SHA1_ALGID
62 = new AlgorithmId(AlgorithmId.SHA_oid);
63 private final AlgorithmId hashAlgId;
119 hashAlgId = AlgorithmId.parse(derIn.getDerValue()); in CertId()
128 public AlgorithmId getHashAlgorithm() { in getHashAlgorithm()
DAlgorithmChecker.java58 import sun.security.x509.AlgorithmId;
187 AlgorithmId algorithmId = null; in check()
189 algorithmId = (AlgorithmId)x509Cert.get(X509CertImpl.SIG_ALG); in check()
342 AlgorithmId algorithmId = x509CRLImpl.getSigAlgId(); in check()
352 static void check(PublicKey key, AlgorithmId algorithmId) in check()
DX509CertPath.java43 import sun.security.x509.AlgorithmId;
324 PKCS7 p7 = new PKCS7(new AlgorithmId[0], in encodePKCS7()
DOCSPResponse.java180 private final AlgorithmId sigAlgId;
356 sigAlgId = AlgorithmId.parse(seqTmp[1]); in OCSPResponse()
/libcore/ojluni/src/main/java/sun/security/ec/
DECPrivateKeyImpl.java36 import sun.security.x509.AlgorithmId;
86 algid = new AlgorithmId in ECPrivateKeyImpl()
87 (AlgorithmId.EC_oid, ECParameters.getAlgorithmParameters(params)); in ECPrivateKeyImpl()
DECPublicKeyImpl.java59 algid = new AlgorithmId in ECPublicKeyImpl()
60 (AlgorithmId.EC_oid, ECParameters.getAlgorithmParameters(params)); in ECPublicKeyImpl()
/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java31 import sun.security.x509.AlgorithmId;
61 private AlgorithmId algid;
95 this.algid = AlgorithmId.parse(seq[0]); in EncryptedPrivateKeyInfo()
137 this.algid = AlgorithmId.get(algName); in EncryptedPrivateKeyInfo()
178 this.algid = AlgorithmId.get(algParams); in EncryptedPrivateKeyInfo()
/libcore/ojluni/src/main/java/java/security/cert/
DX509CertSelector.java2242 AlgorithmId algID = AlgorithmId.parse(val.data.getDerValue()); in matchSubjectPublicKeyAlgID()
/libcore/
Dopenjdk_java_files.mk1399 ojluni/src/main/java/sun/security/x509/AlgorithmId.java \