/libcore/luni/src/test/java/libcore/sun/security/x509/ |
D | AlgorithmIdTest.java | 24 import sun.security.x509.AlgorithmId; 30 assertEquals("1.3.14.3.2.26", AlgorithmId.get("SHA-1").getOID().toString()); in test_get_String() 31 assertEquals("1.3.14.3.2.26", AlgorithmId.get("SHA1").getOID().toString()); in test_get_String() 32 assertEquals("2.16.840.1.101.3.4.2.4", AlgorithmId.get("SHA-224").getOID().toString()); in test_get_String() 35 assertEquals("2.16.840.1.101.3.4.2.4", AlgorithmId.get("SHA224").getOID().toString()); in test_get_String() 37 assertEquals("2.16.840.1.101.3.4.2.1", AlgorithmId.get("SHA-256").getOID().toString()); in test_get_String() 40 assertEquals("2.16.840.1.101.3.4.2.1", AlgorithmId.get("SHA256").getOID().toString()); in test_get_String() 43 "2.16.840.1.101.3.4.3.1", AlgorithmId.get("SHA224WithDSA").getOID().toString()); in test_get_String() 45 "2.16.840.1.101.3.4.3.2", AlgorithmId.get("SHA256WithDSA").getOID().toString()); in test_get_String() 48 "2.16.840.1.101.3.4.3.1", AlgorithmId.get("sHA224withDSA").getOID().toString()); in test_get_String() [all …]
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AlgorithmId.java | 59 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 241 AlgorithmId paramsId = in getName() 242 AlgorithmId.parse(new DerValue(getEncodedParams())); in getName() 279 public boolean equals(AlgorithmId other) { in equals() 296 if (other instanceof AlgorithmId) { in equals() 297 return equals((AlgorithmId) other); in equals() [all …]
|
D | CertificateAlgorithmId.java | 42 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() 133 public AlgorithmId get(String name) throws IOException { in get()
|
D | X509Key.java | 65 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()
|
D | KeyIdentifier.java | 90 AlgorithmId algid = AlgorithmId.parse(algAndKey.data.getDerValue()); in KeyIdentifier()
|
D | X509CRLImpl.java | 98 private AlgorithmId sigAlgId = null; // sig alg in CRL 102 private AlgorithmId infoSigAlgId; // sig alg in "to-be-signed" crl 511 sigAlgId = AlgorithmId.get(sigEngine.getAlgorithm()); in sign() 830 public AlgorithmId getSigAlgId() { in getSigAlgId() 1084 sigAlgId = AlgorithmId.parse(seq[1]); in parse() 1112 AlgorithmId tmpId = AlgorithmId.parse(tmp); in parse()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/ |
D | SignerInfo.java | 41 sun.security.x509.AlgorithmId digestAlgorithmId, in SignerInfo() 42 sun.security.x509.AlgorithmId digestEncryptionAlgorithmId, in SignerInfo() 51 sun.security.x509.AlgorithmId digestAlgorithmId, in SignerInfo() 53 sun.security.x509.AlgorithmId digestEncryptionAlgorithmId, in SignerInfo() 119 public sun.security.x509.AlgorithmId getDigestAlgorithmId() { in getDigestAlgorithmId() 128 public sun.security.x509.AlgorithmId getDigestEncryptionAlgorithmId() { in getDigestEncryptionAlgorithmId() 182 sun.security.x509.AlgorithmId digestAlgorithmId; 184 sun.security.x509.AlgorithmId digestEncryptionAlgorithmId;
|
D | PKCS8Key.java | 40 private PKCS8Key(sun.security.x509.AlgorithmId algid, byte[] key) in PKCS8Key() 59 static java.security.PrivateKey buildPKCS8Key(sun.security.x509.AlgorithmId algid, byte[] key) in buildPKCS8Key() 68 public sun.security.x509.AlgorithmId getAlgorithmId() { in getAlgorithmId() 105 sun.security.util.DerOutputStream out, sun.security.x509.AlgorithmId algid, byte[] key) in encode() 118 @android.compat.annotation.UnsupportedAppUsage protected sun.security.x509.AlgorithmId algid;
|
D | PKCS7.java | 54 sun.security.x509.AlgorithmId[] digestAlgorithmIds, in PKCS7() 64 sun.security.x509.AlgorithmId[] digestAlgorithmIds, in PKCS7() 133 public sun.security.x509.AlgorithmId[] getDigestAlgorithmIds() { in getDigestAlgorithmIds() 183 private sun.security.x509.AlgorithmId[] digestAlgorithmIds;
|
/libcore/ojluni/src/main/java/sun/security/timestamp/ |
D | TimestampToken.java | 33 import sun.security.x509.AlgorithmId; 78 private AlgorithmId hashAlgorithm; 105 public AlgorithmId getHashAlgorithm() { in getHashAlgorithm() 148 hashAlgorithm = AlgorithmId.parse(messageImprint.data.getDerValue()); in parse()
|
/libcore/ojluni/annotations/mmodule/sun/security/pkcs/ |
D | SignerInfo.annotated.java | 45 …ava.math.BigInteger serial, sun.security.x509.AlgorithmId digestAlgorithmId, sun.security.x509.Alg… in SignerInfo() 48 …serial, sun.security.x509.AlgorithmId digestAlgorithmId, PKCS9Attributes authenticatedAttributes, … in SignerInfo() 79 public sun.security.x509.AlgorithmId getDigestAlgorithmId() { throw new RuntimeException("Stub!"); } in getDigestAlgorithmId() 85 public sun.security.x509.AlgorithmId getDigestEncryptionAlgorithmId() { throw new RuntimeException(… in getDigestEncryptionAlgorithmId()
|
D | PKCS7.annotated.java | 35 import sun.security.x509.AlgorithmId; 55 public PKCS7(sun.security.x509.AlgorithmId[] digestAlgorithmIds, sun.security.pkcs.ContentInfo cont… in PKCS7() 58 public PKCS7(sun.security.x509.AlgorithmId[] digestAlgorithmIds, sun.security.pkcs.ContentInfo cont… in PKCS7() 84 public sun.security.x509.AlgorithmId[] getDigestAlgorithmIds() { throw new RuntimeException("Stub!"… in getDigestAlgorithmIds()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | CertId.java | 61 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()
|
D | AlgorithmChecker.java | 59 import sun.security.x509.AlgorithmId; 272 AlgorithmId algorithmId; in check() 275 algorithmId = (AlgorithmId)x509Cert.get(X509CertImpl.SIG_ALG); in check() 401 AlgorithmId algorithmId = x509CRLImpl.getSigAlgId(); in check() 411 static void check(PublicKey key, AlgorithmId algorithmId) in check()
|
D | X509CertPath.java | 43 import sun.security.x509.AlgorithmId; 324 PKCS7 p7 = new PKCS7(new AlgorithmId[0], in encodePKCS7()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | SignerInfo.java | 63 import sun.security.x509.AlgorithmId; 88 AlgorithmId digestAlgorithmId; 89 AlgorithmId digestEncryptionAlgorithmId; 104 AlgorithmId digestAlgorithmId, in SignerInfo() 105 AlgorithmId digestEncryptionAlgorithmId, in SignerInfo() 117 AlgorithmId digestAlgorithmId, in SignerInfo() 119 AlgorithmId digestEncryptionAlgorithmId, in SignerInfo() 167 digestAlgorithmId = AlgorithmId.parse(tmp); in SignerInfo() 186 digestEncryptionAlgorithmId = AlgorithmId.parse(tmp); in SignerInfo() 424 String tmp = AlgorithmId.getEncAlgFromSigAlg(encryptionAlgname); in verify() [all …]
|
D | PKCS8Key.java | 58 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() 340 algid = AlgorithmId.parse (val.data.getDerValue ()); in decode() 386 static void encode(DerOutputStream out, AlgorithmId algid, byte[] key) in encode()
|
D | PKCS7.java | 49 import sun.security.x509.AlgorithmId; 70 private AlgorithmId[] digestAlgorithmIds = null; 222 public PKCS7(AlgorithmId[] digestAlgorithmIds, in PKCS7() 236 public PKCS7(AlgorithmId[] digestAlgorithmIds, in PKCS7() 299 digestAlgorithmIds = new AlgorithmId[len]; in parseSignedData() 303 digestAlgorithmIds[i] = AlgorithmId.parse(oid); in parseSignedData() 434 digestAlgorithmIds = new AlgorithmId[len]; in parseOldSignedData() 438 digestAlgorithmIds[i] = AlgorithmId.parse(oid); in parseOldSignedData() 680 public AlgorithmId[] getDigestAlgorithmIds() { in getDigestAlgorithmIds()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | X509Key.java | 36 private X509Key(sun.security.x509.AlgorithmId algid, sun.security.util.BitArray key) in X509Key() 60 sun.security.x509.AlgorithmId algid, sun.security.util.BitArray key) in buildX509Key() 69 public sun.security.x509.AlgorithmId getAlgorithmId() { in getAlgorithmId() 123 sun.security.x509.AlgorithmId algid, in encode() 129 @android.compat.annotation.UnsupportedAppUsage protected sun.security.x509.AlgorithmId algid;
|
D | AlgorithmId.java | 32 public class AlgorithmId implements java.io.Serializable, sun.security.util.DerEncoder { class 36 public AlgorithmId() { in AlgorithmId() method in AlgorithmId 41 public AlgorithmId(sun.security.util.ObjectIdentifier oid) { in AlgorithmId() method in AlgorithmId 46 public AlgorithmId( in AlgorithmId() method in AlgorithmId 51 private AlgorithmId(sun.security.util.ObjectIdentifier oid, sun.security.util.DerValue params) in AlgorithmId() method in AlgorithmId 96 public boolean equals(sun.security.x509.AlgorithmId other) { in equals() 121 public static sun.security.x509.AlgorithmId parse(sun.security.util.DerValue val) in parse() 128 public static sun.security.x509.AlgorithmId getAlgorithmId(java.lang.String algname) in getAlgorithmId() 134 public static sun.security.x509.AlgorithmId get(java.lang.String algname) in get() 139 public static sun.security.x509.AlgorithmId get(java.security.AlgorithmParameters algparams) in get()
|
D | CertificateAlgorithmId.java | 34 public CertificateAlgorithmId(sun.security.x509.AlgorithmId algId) { in CertificateAlgorithmId() 58 public sun.security.x509.AlgorithmId get(java.lang.String name) throws java.io.IOException { in get() 80 private sun.security.x509.AlgorithmId algId;
|
/libcore/ojluni/annotations/mmodule/sun/security/x509/ |
D | AlgorithmId.annotated.java | 34 public class AlgorithmId implements java.io.Serializable { class 38 public AlgorithmId() { throw new RuntimeException("Stub!"); } in AlgorithmId() method in AlgorithmId 42 public AlgorithmId(sun.security.util.ObjectIdentifier oid) { throw new RuntimeException("Stub!"); } in AlgorithmId() method in AlgorithmId 45 public AlgorithmId(sun.security.util.ObjectIdentifier oid, java.security.AlgorithmParameters algpar… in AlgorithmId() method in AlgorithmId 75 public boolean equals(sun.security.x509.AlgorithmId other) { throw new RuntimeException("Stub!"); } in equals() 93 public static sun.security.x509.AlgorithmId parse(DerValue val) throws java.io.IOException { throw … in parse() 97 public static sun.security.x509.AlgorithmId getAlgorithmId(java.lang.String algname) throws java.se… in getAlgorithmId() 101 public static sun.security.x509.AlgorithmId get(java.lang.String algname) throws java.security.NoSu… in get() 104 public static sun.security.x509.AlgorithmId get(java.security.AlgorithmParameters algparams) throws… in get()
|
/libcore/ojluni/src/main/java/javax/crypto/ |
D | EncryptedPrivateKeyInfo.java | 31 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/annotations/hiddenapi/sun/security/timestamp/ |
D | TimestampToken.java | 42 public sun.security.x509.AlgorithmId getHashAlgorithm() { in getHashAlgorithm() 70 private sun.security.x509.AlgorithmId hashAlgorithm;
|
/libcore/mmodules/intracoreapi/api/intra/ |
D | last-api.txt | 82 public class AlgorithmId implements java.io.Serializable { 83 …method public static sun.security.x509.AlgorithmId get(String) throws java.security.NoSuchAlgorith…
|