Home
last modified time | relevance | path

Searched refs:sigAlgId (Results 1 – 18 of 18) 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.java89 public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId) in find() argument
93 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in find()
95 digAlgId = RSASSAPSSparams.getInstance(sigAlgId.getParameters()).getHashAlgorithm(); in find()
99 …digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigAlgId.getAlgorithm()), … in find()
DDigestAlgorithmIdentifierFinder.java14 AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId); in find() argument
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DOperatorHelper.java273 Signature createSignature(AlgorithmIdentifier sigAlgId) in createSignature() argument
280 sig = helper.createSignature(getSignatureName(sigAlgId)); in createSignature()
287 if (oids.get(sigAlgId.getAlgorithm()) != null) in createSignature()
289 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); in createSignature()
336 AlgorithmIdentifier sigAlgId) in getSignatureName() argument
338 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName()
342 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName()
349 if (oids.containsKey(sigAlgId.getAlgorithm())) in getSignatureName()
351 return (String)oids.get(sigAlgId.getAlgorithm()); in getSignatureName()
354 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/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/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.getObjectId()) != null) in verify()
512 String signatureAlgorithm = (String)oids.get(sigAlgId.getObjectId()); 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/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.java47 private AlgorithmIdentifier sigAlgId; field in X509V1CertificateGenerator
175 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); in setSignatureAlgorithm()
177 tbsGen.setSignature(sigAlgId); in setSignatureAlgorithm()
355 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/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.patch8711 - if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
8718 + // if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
8725 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2))