/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
EncryptedPrivateKeyInfo.java | 17 private AlgorithmIdentifier algId; 25 algId = AlgorithmIdentifier.getInstance(e.nextElement()); 30 AlgorithmIdentifier algId, 33 this.algId = algId; 54 return algId; 81 v.add(algId);
|
PrivateKeyInfo.java | 26 private AlgorithmIdentifier algId; 52 AlgorithmIdentifier algId, 56 this(algId, privateKey, null); 60 AlgorithmIdentifier algId, 66 this.algId = algId; 81 algId = AlgorithmIdentifier.getInstance(e.nextElement()); 92 return algId; 99 return algId; 150 v.add(algId); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
DigestInfo.java | 26 private AlgorithmIdentifier algId; 51 AlgorithmIdentifier algId, 55 this.algId = algId; 63 algId = AlgorithmIdentifier.getInstance(e.nextElement()); 69 return algId; 81 v.add(algId);
|
SubjectPublicKeyInfo.java | 25 private AlgorithmIdentifier algId; 51 AlgorithmIdentifier algId, 56 this.algId = algId; 60 AlgorithmIdentifier algId, 64 this.algId = algId; 78 this.algId = AlgorithmIdentifier.getInstance(e.nextElement()); 84 return algId; 93 return algId; [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
KeyUtil.java | 11 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) 15 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); 23 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData) 27 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData)); 47 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) 51 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive());
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
MessageImprint.java | 39 private final AlgorithmIdentifier algId; 42 public MessageImprint(AlgorithmIdentifier algId, byte [] hashedMessage){ 43 this.algId = algId; 60 values[0] = mi.algId;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
PrivateKeyFactory.java | 85 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); 87 if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.rsaEncryption)) 97 // else if (algId.getObjectId().equals(X9ObjectIdentifiers.dhpublicnumber)) 98 else if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.dhKeyAgreement)) 100 DHParameter params = DHParameter.getInstance(algId.getParameters()); 110 // else if (algId.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm)) 112 // ElGamalParameter params = new ElGamalParameter((ASN1Sequence)algId.getParameters()); 119 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa)) 122 ASN1Encodable de = algId.getParameters(); 133 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_ecPublicKey) [all...] |
PublicKeyFactory.java | 92 AlgorithmIdentifier algId = keyInfo.getAlgorithm(); 94 if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.rsaEncryption) 95 || algId.getAlgorithm().equals(X509ObjectIdentifiers.id_ea_rsa)) 101 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.dhpublicnumber)) 107 DHDomainParameters dhParams = DHDomainParameters.getInstance(algId.getParameters()); 133 else if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.dhKeyAgreement)) 135 DHParameter params = DHParameter.getInstance(algId.getParameters()); 145 // else if (algId.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm)) 147 // ElGamalParameter params = new ElGamalParameter((ASN1Sequence)algId.getParameters()); 154 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/ |
CertificationRequest.java | 47 private AlgorithmIdentifier algId; 56 AlgorithmIdentifier algId, byte[] signature) { 58 this.algId = algId; 63 AlgorithmIdentifier algId, byte[] signature, byte[] encoding) { 64 this(info, algId, signature); 107 values[1] = certReq.algId;
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
SubjectPublicKeyInfo.java | 64 public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] subjectPublicKey) { 65 this(algID, subjectPublicKey, 0); 68 public SubjectPublicKeyInfo(AlgorithmIdentifier algID, byte[] subjectPublicKey, int unused) { 69 this(algID, subjectPublicKey, 0, null); 72 private SubjectPublicKeyInfo(AlgorithmIdentifier algID, 75 this.algorithmID = algID;
|
AlgorithmIdentifier.java | 125 AlgorithmIdentifier algid = (AlgorithmIdentifier) ai; local 126 return (algorithm.equals(algid.algorithm)) 128 ? algid.parameters == null 129 : Arrays.equals(parameters, algid.parameters));
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/ |
SubjectPublicKeyInfoTest.java | 65 AlgorithmIdentifier algid = new AlgorithmIdentifier("1.2.840.113549.1.1.1"); local 67 SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo(algid, rsaPubKeyInfo.encode(null)); 75 AlgorithmIdentifier algid = new AlgorithmIdentifier("1.30.9999999999.8734878"); local 76 SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo(algid, ENCODED_BROKEN); 87 AlgorithmIdentifier algid = new AlgorithmIdentifier(MY_TEST_KEY_OID, "UnknownKey"); local 88 SubjectPublicKeyInfo spki = new SubjectPublicKeyInfo(algid, ENCODED_BROKEN);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
DigestSignatureSpi.java | 53 private AlgorithmIdentifier algId; 62 this.algId = null; 73 this.algId = new AlgorithmIdentifier(objId, DERNull.INSTANCE); 255 if (algId == null) 261 DigestInfo dInfo = new DigestInfo(algId, hash);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
RSADigestSigner.java | 31 private final AlgorithmIdentifier algId; 68 algId = new AlgorithmIdentifier((ASN1ObjectIdentifier)oidMap.get(digest.getAlgorithmName()), DERNull.INSTANCE); 234 DigestInfo dInfo = new DigestInfo(algId, hash);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignedHelper.java | 404 AlgorithmIdentifier fixAlgID(AlgorithmIdentifier algId) 406 if (algId.getParameters() == null) 408 return new AlgorithmIdentifier(algId.getAlgorithm(), DERNull.INSTANCE); 411 return algId;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JDKPKCS12KeyStore.java | 554 AlgorithmIdentifier algId, 560 String algorithm = algId.getAlgorithm().getId(); 561 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters()); 627 AlgorithmIdentifier algId, 633 String algorithm = algId.getAlgorithm().getId(); 634 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters()); 698 AlgorithmIdentifier algId = dInfo.getAlgorithmId(); 706 byte[] res = calculatePbeMac(algId.getObjectId(), salt, itCount, password, false, data); 717 res = calculatePbeMac(algId.getObjectId(), salt, itCount, password, true, data); [all...] |
/external/bouncycastle/patches/ |
bcprov.patch | [all...] |
/dalvik/hit/samples/ |
android.hprof | [all...] |