/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 | 89 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()
|
D | DigestAlgorithmIdentifierFinder.java | 14 AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId); in find() argument
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
D | OperatorHelper.java | 273 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()
|
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/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/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.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/ |
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 | 47 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()
|
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/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 | 8711 - 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))
|