/openjdk7/jdk/test/sun/security/x509/AlgorithmId/ |
H A D | SHA256withECDSA.java | 27 * @summary AlgorithmId.get("SHA256withECDSA") not available 34 AlgorithmId.get("SHA224withECDSA"); 35 AlgorithmId.get("SHA256withECDSA"); 36 AlgorithmId.get("SHA384withECDSA"); 37 AlgorithmId.get("SHA512withECDSA");
|
H A D | TurkishRegion.java | 28 * sun.security.x509.AlgorithmId.algOID 38 AlgorithmId algId = AlgorithmId.get("PBEWITHMD5ANDDES");
|
H A D | AlgorithmIdEqualsHashCode.java | 39 AlgorithmId ai1 = AlgorithmId.get("DH"); 40 AlgorithmId ai2 = AlgorithmId.get("DH"); 41 AlgorithmId ai3 = AlgorithmId.get("DH");
|
H A D | ExtensibleAlgorithmId.java | 31 // Run in othervm, coz AlgorithmId.oidTable is only initialized once 34 import sun.security.x509.AlgorithmId; 41 AlgorithmId algid = AlgorithmId.getAlgorithmId("XYZ");
|
H A D | NonStandardNames.java | 39 import sun.security.x509.AlgorithmId; 67 AlgorithmId.get("SHA-256"), 69 AlgorithmId.get("SHA256withRSA"), 75 new AlgorithmId[] {signerInfo.getDigestAlgorithmId()},
|
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | PrivateKeyInfo.java | 30 import sun.security.x509.AlgorithmId; 54 private AlgorithmId algid; 76 this.algid = AlgorithmId.parse(val.data.getDerValue()); 87 AlgorithmId getAlgorithm() {
|
H A D | EncryptedPrivateKeyInfo.java | 29 import sun.security.x509.AlgorithmId; 47 private AlgorithmId algid; 71 this.algid = AlgorithmId.parse(seq[0]); 87 EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) { 96 AlgorithmId getAlgorithm() {
|
H A D | OAEPParameters.java | 134 mdName = convertToStandardName(AlgorithmId.parse 138 AlgorithmId val = AlgorithmId.parse(data.data.getDerValue()); 142 AlgorithmId params = AlgorithmId.parse( 159 AlgorithmId val = AlgorithmId.parse(data.data.getDerValue()); 199 AlgorithmId mdAlgId; 201 mdAlgId = AlgorithmId.get(mdName); 203 throw new IOException("AlgorithmId " [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs12/ |
H A D | MacData.java | 34 import sun.security.x509.AlgorithmId; 68 AlgorithmId digestAlgorithmId = AlgorithmId.parse(digestInfo[0]); 92 AlgorithmId algid = AlgorithmId.get(algName); 122 AlgorithmId algid = AlgorithmId.get(algParams); 177 AlgorithmId algid = AlgorithmId.get(digestAlgorithmName);
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | CertificateAlgorithmId.java | 36 * This class defines the AlgorithmId for the Certificate. 42 private AlgorithmId algId; 57 * returned is an instance of AlgorithmId. 58 * @see sun.security.x509.AlgorithmId 67 public CertificateAlgorithmId(AlgorithmId algId) { 79 algId = AlgorithmId.parse(val); 90 algId = AlgorithmId.parse(val); 119 if (!(obj instanceof AlgorithmId)) { 120 throw new IOException("Attribute must be of type AlgorithmId."); 123 algId = (AlgorithmId)ob [all...] |
H A D | AlgorithmId.java | 58 public class AlgorithmId implements Serializable, DerEncoder { class in inherits:Serializable,DerEncoder 86 public AlgorithmId() { } method in class:AlgorithmId 93 public AlgorithmId(ObjectIdentifier oid) { method in class:AlgorithmId 103 public AlgorithmId(ObjectIdentifier oid, AlgorithmParameters algparams) { method in class:AlgorithmId 109 private AlgorithmId(ObjectIdentifier oid, DerValue params) method in class:AlgorithmId 174 // Several AlgorithmId should omit the whole parameter part when 207 * Returns the DER-encoded X.509 AlgorithmId as a byte array. 241 AlgorithmId paramsId = 242 AlgorithmId.parse(new DerValue(getEncodedParams())); 273 public boolean equals(AlgorithmId othe [all...] |
H A D | KeyIdentifier.java | 90 AlgorithmId algid = AlgorithmId.parse(algAndKey.data.getDerValue());
|
H A D | X509Key.java | 66 protected AlgorithmId algid; 103 private X509Key(AlgorithmId algid, BitArray key) 162 AlgorithmId algorithm; 168 algorithm = AlgorithmId.parse(in.data.getDerValue()); 205 static PublicKey buildX509Key(AlgorithmId algid, BitArray key) 291 public AlgorithmId getAlgorithmId() { return algid; } 389 algid = AlgorithmId.parse(val.data.getDerValue()); 470 static void encode(DerOutputStream out, AlgorithmId algid, BitArray key)
|
/openjdk7/jdk/src/share/classes/sun/security/timestamp/ |
H A D | TimestampToken.java | 33 import sun.security.x509.AlgorithmId; 78 private AlgorithmId hashAlgorithm; 105 public AlgorithmId getHashAlgorithm() { 144 hashAlgorithm = AlgorithmId.parse(messageImprint.data.getDerValue());
|
/openjdk7/jdk/test/sun/security/pkcs/EncryptedPrivateKeyInfo/ |
H A D | EncryptedPKInfoEqualsHashCode.java | 44 AlgorithmId dh = AlgorithmId.get("DH");
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | EncryptedPrivateKeyInfo.java | 50 private AlgorithmId algid; 80 this.algid = AlgorithmId.parse(seq[0]); 96 public EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) { 104 public AlgorithmId getAlgorithm() {
|
H A D | SignerInfo.java | 36 import sun.security.x509.AlgorithmId; 52 AlgorithmId digestAlgorithmId; 53 AlgorithmId digestEncryptionAlgorithmId; 61 AlgorithmId digestAlgorithmId, 62 AlgorithmId digestEncryptionAlgorithmId, 74 AlgorithmId digestAlgorithmId, 76 AlgorithmId digestEncryptionAlgorithmId, 124 digestAlgorithmId = AlgorithmId.parse(tmp); 143 digestEncryptionAlgorithmId = AlgorithmId.parse(tmp); 359 String tmp = AlgorithmId [all...] |
H A D | PKCS8Key.java | 58 protected AlgorithmId algid; 81 private PKCS8Key (AlgorithmId algid, byte key []) 117 AlgorithmId algorithm; 131 algorithm = AlgorithmId.parse (in.data.getDerValue ()); 168 static PrivateKey buildPKCS8Key (AlgorithmId algid, byte[] key) 256 public AlgorithmId getAlgorithmId () { return algid; } 351 algid = AlgorithmId.parse (val.data.getDerValue ()); 397 static void encode(DerOutputStream out, AlgorithmId algid, byte[] key)
|
H A D | PKCS10.java | 44 import sun.security.x509.AlgorithmId; 124 AlgorithmId id; 141 id = AlgorithmId.parse(seq[1]); 226 AlgorithmId algId = null; 228 algId = AlgorithmId.getAlgorithmId(signature.getAlgorithm());
|
/openjdk7/jdk/src/share/classes/sun/security/rsa/ |
H A D | RSASignature.java | 37 import sun.security.x509.AlgorithmId; 51 // we sign an ASN.1 SEQUENCE of AlgorithmId and digest 219 new AlgorithmId(oid).encode(out); 237 AlgorithmId algId = AlgorithmId.parse(values[0]); 243 throw new IOException("Unexpected AlgorithmId parameters"); 264 super("MD2", AlgorithmId.MD2_oid, 10); 271 super("MD5", AlgorithmId.MD5_oid, 10); 278 super("SHA-1", AlgorithmId.SHA_oid, 7); 285 super("SHA-256", AlgorithmId [all...] |
H A D | RSAPrivateCrtKeyImpl.java | 35 import sun.security.x509.AlgorithmId; 66 final static AlgorithmId rsaId = 67 new AlgorithmId(AlgorithmId.RSAEncryption_oid);
|
/openjdk7/jdk/src/share/classes/sun/security/provider/certpath/ |
H A D | CertId.java | 59 private static final AlgorithmId SHA1_ALGID 60 = new AlgorithmId(AlgorithmId.SHA_oid); 61 private final AlgorithmId hashAlgId; 110 hashAlgId = AlgorithmId.parse(derIn.getDerValue()); 119 public AlgorithmId getHashAlgorithm() {
|
/openjdk7/jdk/src/share/classes/sun/security/ec/ |
H A D | ECPrivateKeyImpl.java | 36 import sun.security.x509.AlgorithmId; 86 algid = new AlgorithmId 87 (AlgorithmId.EC_oid, ECParameters.getAlgorithmParameters(params));
|
H A D | ECPublicKeyImpl.java | 59 algid = new AlgorithmId 60 (AlgorithmId.EC_oid, ECParameters.getAlgorithmParameters(params));
|
/openjdk7/jdk/src/share/classes/sun/security/tools/ |
H A D | TimestampedSigner.java | 168 AlgorithmId.getEncAlgFromSigAlg(signatureAlgorithm); 170 AlgorithmId.getDigAlgFromSigAlg(signatureAlgorithm); 171 AlgorithmId digestAlgorithmId = AlgorithmId.get(digestAlgorithm); 229 digestAlgorithmId, null, AlgorithmId.get(keyAlgorithm), 233 digestAlgorithmId, AlgorithmId.get(keyAlgorithm), signature); 237 AlgorithmId[] algorithms = {digestAlgorithmId}; 349 new AlgorithmId(new ObjectIdentifier("1.3.14.3.2.26")))) {
|