/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509SignatureUtil.java | 70 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/ |
D | CertificationRequest.java | 25 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/ |
D | DefaultSignatureAlgorithmIdentifierFinder.java | 184 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()
|
D | DefaultDigestAlgorithmIdentifierFinder.java | 103 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()
|
D | DigestAlgorithmIdentifierFinder.java | 14 AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId); in find() argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | PKCS10CertificationRequest.java | 352 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/ |
D | CertificateList.java | 32 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()
|
D | Certificate.java | 26 AlgorithmIdentifier sigAlgId; field in Certificate 62 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in Certificate() 119 return sigAlgId; in getSignatureAlgorithm()
|
D | X509CertificateStructure.java | 29 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/ |
D | OperatorHelper.java | 296 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()
|
D | JcaContentSignerBuilder.java | 27 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/ |
D | X509SignatureUtil.java | 65 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/ |
D | CertUtils.java | 87 …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/ |
D | X509V1CertificateGenerator.java | 44 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()
|
D | X509V3CertificateGenerator.java | 48 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/ |
D | OCSPReqBuilder.java | 153 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()
|
D | BasicOCSPRespBuilder.java | 266 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/ |
D | SignerInfoGenerator.java | 258 …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/ |
D | bcprov-jdk15-143.jar | META-INF/MANIFEST.MF
META-INF/BCKEY.SF
META-INF/BCKEY ... |
/external/bouncycastle/patches/ |
D | bcpkix.patch | 803 public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId)
|
D | bcprov.patch | 8895 - 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))
|