Home
last modified time | relevance | path

Searched refs:sigAlgId (Results 1 – 21 of 21) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509SignatureUtil.java70 AlgorithmIdentifier sigAlgId) in getSignatureName() argument
72 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName()
76 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName()
82 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName()
94 … String algName = prov.getProperty("Alg.Alias.Signature." + sigAlgId.getAlgorithm().getId()); in getSignatureName()
109 … String algName = provs[i].getProperty("Alg.Alias.Signature." + sigAlgId.getAlgorithm().getId()); in getSignatureName()
116 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DCertificationRequest.java25 protected AlgorithmIdentifier sigAlgId = null; field in CertificationRequest
53 this.sigAlgId = algorithm; in CertificationRequest()
61 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificationRequest()
72 return sigAlgId; in getSignatureAlgorithm()
86 v.add(sigAlgId); in toASN1Primitive()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java184 AlgorithmIdentifier sigAlgId; in generate() local
197 sigAlgId = new AlgorithmIdentifier(sigOID); in generate()
201 sigAlgId = new AlgorithmIdentifier(sigOID, (ASN1Encodable)params.get(algorithmName)); in generate()
205 sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in generate()
214 encAlgId = sigAlgId; in generate()
217 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in generate()
219 digAlgId = ((RSASSAPSSparams)sigAlgId.getParameters()).getHashAlgorithm(); in generate()
226 return sigAlgId; in generate()
DDefaultDigestAlgorithmIdentifierFinder.java103 public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId) in find() argument
107 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in find()
109 digAlgId = RSASSAPSSparams.getInstance(sigAlgId.getParameters()).getHashAlgorithm(); in find()
113 …digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigAlgId.getAlgorithm()), … in find()
DDigestAlgorithmIdentifierFinder.java14 AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId); in find() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java352 this.sigAlgId = new AlgorithmIdentifier(sigOID); in PKCS10CertificationRequest()
356 … this.sigAlgId = new AlgorithmIdentifier(sigOID, (ASN1Encodable)params.get(algorithmName)); in PKCS10CertificationRequest()
360 this.sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in PKCS10CertificationRequest()
498 sig = Signature.getInstance(getSignatureName(sigAlgId)); in verify()
502 sig = Signature.getInstance(getSignatureName(sigAlgId), provider); in verify()
510 if (oids.get(sigAlgId.getAlgorithm()) != null) in verify()
512 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); in verify()
529 setSignatureParameters(sig, sigAlgId.getParameters()); in verify()
593 AlgorithmIdentifier sigAlgId) in getSignatureName() argument
595 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DCertificateList.java32 AlgorithmIdentifier sigAlgId; field in CertificateList
69 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificateList()
95 return sigAlgId; in getSignatureAlgorithm()
128 v.add(sigAlgId); in toASN1Primitive()
DCertificate.java26 AlgorithmIdentifier sigAlgId; field in Certificate
62 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in Certificate()
119 return sigAlgId; in getSignatureAlgorithm()
DX509CertificateStructure.java29 AlgorithmIdentifier sigAlgId; field in X509CertificateStructure
65 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in X509CertificateStructure()
117 return sigAlgId; in getSignatureAlgorithm()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java296 Signature createSignature(AlgorithmIdentifier sigAlgId) in createSignature() argument
303 sig = helper.createSignature(getSignatureName(sigAlgId)); in createSignature()
310 if (oids.get(sigAlgId.getAlgorithm()) != null) in createSignature()
312 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); in createSignature()
359 AlgorithmIdentifier sigAlgId) in getSignatureName() argument
361 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName()
365 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName()
372 if (oids.containsKey(sigAlgId.getAlgorithm())) in getSignatureName()
374 return (String)oids.get(sigAlgId.getAlgorithm()); in getSignatureName()
377 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
DJcaContentSignerBuilder.java27 private AlgorithmIdentifier sigAlgId; field in JcaContentSignerBuilder
32 this.sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find(signatureAlgorithm); in JcaContentSignerBuilder()
61 final Signature sig = helper.createSignature(sigAlgId); in build()
78 return sigAlgId; in build()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509SignatureUtil.java65 AlgorithmIdentifier sigAlgId) in getSignatureName() argument
67 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName()
79 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName()
87 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DCertUtils.java87 …rtificate generateStructure(TBSCertificate tbsCert, AlgorithmIdentifier sigAlgId, byte[] signature) in generateStructure() argument
92 v.add(sigAlgId); in generateStructure()
98 …ateAttrStructure(AttributeCertificateInfo attrInfo, AlgorithmIdentifier sigAlgId, byte[] signature) in generateAttrStructure() argument
103 v.add(sigAlgId); in generateAttrStructure()
109 …eList generateCRLStructure(TBSCertList tbsCertList, AlgorithmIdentifier sigAlgId, byte[] signature) in generateCRLStructure() argument
114 v.add(sigAlgId); in generateCRLStructure()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509V1CertificateGenerator.java44 private AlgorithmIdentifier sigAlgId; field in X509V1CertificateGenerator
171 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); in setSignatureAlgorithm()
173 tbsGen.setSignature(sigAlgId); in setSignatureAlgorithm()
351 v.add(sigAlgId); in generateJcaObject()
DX509V3CertificateGenerator.java48 private AlgorithmIdentifier sigAlgId; field in X509V3CertificateGenerator
180 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); in setSignatureAlgorithm()
182 tbsGen.setSignature(sigAlgId); in setSignatureAlgorithm()
511 v.add(sigAlgId); in generateJcaObject()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DOCSPReqBuilder.java153 AlgorithmIdentifier sigAlgId = contentSigner.getAlgorithmIdentifier(); in generateRequest() local
164 signature = new Signature(sigAlgId, bitSig, new DERSequence(v)); in generateRequest()
168 signature = new Signature(sigAlgId, bitSig); in generateRequest()
DBasicOCSPRespBuilder.java266 AlgorithmIdentifier sigAlgId = signer.getAlgorithmIdentifier(); in build() local
281 return new BasicOCSPResp(new BasicOCSPResponse(tbsResp, sigAlgId, bitSig, chainSeq)); in build()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInfoGenerator.java258 …ectIdentifier contentType, AlgorithmIdentifier digAlgId, AlgorithmIdentifier sigAlgId, byte[] hash) in getBaseParameters() argument
268 param.put(CMSAttributeTableGenerator.SIGNATURE_ALGORITHM_IDENTIFIER, sigAlgId); in getBaseParameters()
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/bouncycastle/patches/
Dbcpkix.patch803 public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId)
Dbcprov.patch8895 - if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
8902 + // if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
8909 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2))