Home
last modified time | relevance | path

Searched refs:digestAlgorithm (Results 1 – 14 of 14) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DObjectDigestInfo.java55 AlgorithmIdentifier digestAlgorithm; field in ObjectDigestInfo
98 AlgorithmIdentifier digestAlgorithm, in ObjectDigestInfo() argument
107 this.digestAlgorithm = digestAlgorithm; in ObjectDigestInfo()
130 digestAlgorithm = AlgorithmIdentifier.getInstance(seq.getObjectAt(1 + offset)); in ObjectDigestInfo()
147 return digestAlgorithm; in getDigestAlgorithm()
185 v.add(digestAlgorithm); in toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DPKCSObjectIdentifiers.java96 …static final ASN1ObjectIdentifier digestAlgorithm = new ASN1ObjectIdentifier("1.2.840.11… field
120 static final ASN1ObjectIdentifier md5 = digestAlgorithm.branch("5");
123 static final ASN1ObjectIdentifier id_hmacWithSHA1 = digestAlgorithm.branch("7");
125 static final ASN1ObjectIdentifier id_hmacWithSHA224 = digestAlgorithm.branch("8");
127 static final ASN1ObjectIdentifier id_hmacWithSHA256 = digestAlgorithm.branch("9");
129 static final ASN1ObjectIdentifier id_hmacWithSHA384 = digestAlgorithm.branch("10");
131 static final ASN1ObjectIdentifier id_hmacWithSHA512 = digestAlgorithm.branch("11");
/external/openssl/crypto/cms/
Dcms_dd.c85 cms_DigestAlgorithm_set(dd->digestAlgorithm, md); in DECLARE_ASN1_ITEM()
101 return cms_DigestAlgorithm_init_bio(dd->digestAlgorithm); in cms_DigestedData_init_bio()
115 if (!cms_DigestAlgorithm_find_ctx(&mctx, chain, dd->digestAlgorithm)) in cms_DigestedData_do_final()
Dcms_sd.c186 if (OBJ_cmp(si->digestAlgorithm->algorithm, in cms_copy_messageDigest()
187 sitmp->digestAlgorithm->algorithm)) in cms_copy_messageDigest()
363 cms_DigestAlgorithm_set(si->digestAlgorithm, md); in CMS_add1_signer()
614 *pdig = si->digestAlgorithm; in CMS_SignerInfo_get0_algs()
633 if (!cms_DigestAlgorithm_find_ctx(&mctx, chain, si->digestAlgorithm)) in cms_SignerInfo_content_sign()
711 md = EVP_get_digestbyobj(si->digestAlgorithm->algorithm); in CMS_SignerInfo_sign()
783 md = EVP_get_digestbyobj(si->digestAlgorithm->algorithm); in CMS_SignerInfo_verify()
824 X509_ALGOR *digestAlgorithm; in cms_SignedData_init_bio() local
826 digestAlgorithm = sk_X509_ALGOR_value(sd->digestAlgorithms, i); in cms_SignedData_init_bio()
827 mdbio = cms_DigestAlgorithm_init_bio(digestAlgorithm); in cms_SignedData_init_bio()
[all …]
Dcms_lcl.h135 X509_ALGOR *digestAlgorithm; member
292 X509_ALGOR *digestAlgorithm; member
310 X509_ALGOR *digestAlgorithm; member
449 BIO *cms_DigestAlgorithm_init_bio(X509_ALGOR *digestAlgorithm);
Dcms_asn1.c107 ASN1_SIMPLE(CMS_SignerInfo, digestAlgorithm, X509_ALGOR),
271 ASN1_SIMPLE(CMS_DigestedData, digestAlgorithm, X509_ALGOR),
287 ASN1_IMP(CMS_AuthenticatedData, digestAlgorithm, X509_ALGOR, 1),
Dcms_lib.c361 BIO *cms_DigestAlgorithm_init_bio(X509_ALGOR *digestAlgorithm) in cms_DigestAlgorithm_init_bio() argument
366 X509_ALGOR_get0(&digestoid, NULL, NULL, digestAlgorithm); in cms_DigestAlgorithm_init_bio()
Dcms_ess.c198 md = EVP_get_digestbyobj(si->digestAlgorithm->algorithm); in cms_msgSigDigest()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInformationVerifier.java37 …ifier getContentVerifier(AlgorithmIdentifier signingAlgorithm, AlgorithmIdentifier digestAlgorithm) in getContentVerifier() argument
40 …String signatureName = sigNameGenerator.getSignatureName(digestAlgorithm, signingAlgorith… in getContentVerifier()
DSignerInformation.java43 private AlgorithmIdentifier digestAlgorithm; field in SignerInformation
82 this.digestAlgorithm = info.getDigestAlgorithm(); in SignerInformation()
129 return digestAlgorithm; in getDigestAlgorithmID()
137 return digestAlgorithm.getAlgorithm().getId(); in getDigestAlgOID()
147 return encodeObj(digestAlgorithm.getParameters()); in getDigestAlgParams()
494 …DigestInfo digInfo = new DigestInfo(new AlgorithmIdentifier(digestAlgorithm.getAlgorithm(), DERNul… in doVerify()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DAttributeCertificateHolder.java99 … ASN1ObjectIdentifier digestAlgorithm, ASN1ObjectIdentifier otherObjectTypeID, byte[] objectDigest) in AttributeCertificateHolder() argument
102 otherObjectTypeID, new AlgorithmIdentifier(digestAlgorithm), Arrays in AttributeCertificateHolder()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DAttributeCertificateHolder.java126 String digestAlgorithm, String otherObjectTypeID, byte[] objectDigest) in AttributeCertificateHolder() argument
129 … new ASN1ObjectIdentifier(otherObjectTypeID), new AlgorithmIdentifier(digestAlgorithm), Arrays in AttributeCertificateHolder()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java247 String digestAlgorithm = (String)oids.get(digAlgId.getAlgorithm()); in createDigest()
249 dig = helper.createDigest(digestAlgorithm); in createDigest()
/external/bouncycastle/patches/
Dbcprov.patch201 // {iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 2}
204 - static final ASN1ObjectIdentifier md2 = digestAlgorithm.branch("2");
207 + // static final ASN1ObjectIdentifier md2 = digestAlgorithm.branch("2");
212 // {iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) 4}
215 - static final ASN1ObjectIdentifier md4 = digestAlgorithm.branch("4");
218 + // static final ASN1ObjectIdentifier md4 = digestAlgorithm.branch("4");