/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() 64 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificationRequest() 75 return sigAlgId; in getSignatureAlgorithm() 89 v.add(sigAlgId); in toASN1Primitive()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/pkcs/ |
D | CertificationRequest.java | 27 protected AlgorithmIdentifier sigAlgId = null; field in CertificationRequest 55 this.sigAlgId = algorithm; in CertificationRequest() 66 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificationRequest() 77 return sigAlgId; in getSignatureAlgorithm() 91 v.add(sigAlgId); in toASN1Primitive()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/pkcs/ |
D | CertificationRequest.java | 27 protected AlgorithmIdentifier sigAlgId = null; field in CertificationRequest 55 this.sigAlgId = algorithm; in CertificationRequest() 66 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificationRequest() 77 return sigAlgId; in getSignatureAlgorithm() 91 v.add(sigAlgId); in toASN1Primitive()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
D | JcaContentSignerBuilder.java | 46 private AlgorithmIdentifier sigAlgId; field in JcaContentSignerBuilder 52 this.sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find(signatureAlgorithm); in JcaContentSignerBuilder() 65 this.sigAlgId = new AlgorithmIdentifier( in JcaContentSignerBuilder() 73 this.sigAlgId = new AlgorithmIdentifier( in JcaContentSignerBuilder() 114 final Signature sig = helper.createSignature(sigAlgId); in build() 115 final AlgorithmIdentifier signatureAlgId = sigAlgId; in build() 165 final ASN1Sequence sigAlgIds = ASN1Sequence.getInstance(sigAlgId.getParameters()); in buildComposite() 196 return sigAlgId; in buildComposite()
|
D | OperatorHelper.java | 392 Signature createSignature(AlgorithmIdentifier sigAlgId) in createSignature() argument 395 String sigName = getSignatureName(sigAlgId); in createSignature() 414 else if (oids.get(sigAlgId.getAlgorithm()) != null) in createSignature() 416 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); in createSignature() 426 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in createSignature() 428 ASN1Sequence seq = ASN1Sequence.getInstance(sigAlgId.getParameters()); in createSignature() 484 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 486 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 490 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 497 if (oids.containsKey(sigAlgId.getAlgorithm())) 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/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509SignatureUtil.java | 84 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 86 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 90 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 96 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 105 String algName = (String)algNames.get(sigAlgId.getAlgorithm()); in getSignatureName() 111 return findAlgName(sigAlgId.getAlgorithm()); in getSignatureName()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | PKCS10CertificationRequest.java | 350 this.sigAlgId = new AlgorithmIdentifier(sigOID); in PKCS10CertificationRequest() 354 … this.sigAlgId = new AlgorithmIdentifier(sigOID, (ASN1Encodable)params.get(algorithmName)); in PKCS10CertificationRequest() 358 this.sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in PKCS10CertificationRequest() 496 sig = Signature.getInstance(getSignatureName(sigAlgId)); in verify() 500 sig = Signature.getInstance(getSignatureName(sigAlgId), provider); in verify() 508 if (oids.get(sigAlgId.getAlgorithm()) != null) in verify() 510 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); in verify() 527 setSignatureParameters(sig, sigAlgId.getParameters()); in verify() 591 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 593 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/ |
D | CertificateList.java | 34 AlgorithmIdentifier sigAlgId; field in CertificateList 71 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificateList() 97 return sigAlgId; in getSignatureAlgorithm() 130 v.add(sigAlgId); in toASN1Primitive()
|
D | Certificate.java | 28 AlgorithmIdentifier sigAlgId; field in Certificate 65 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in Certificate() 122 return sigAlgId; in getSignatureAlgorithm()
|
D | X509CertificateStructure.java | 31 AlgorithmIdentifier sigAlgId; field in X509CertificateStructure 67 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in X509CertificateStructure() 119 return sigAlgId; in getSignatureAlgorithm()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/ |
D | CertificateList.java | 34 AlgorithmIdentifier sigAlgId; field in CertificateList 71 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificateList() 97 return sigAlgId; in getSignatureAlgorithm() 130 v.add(sigAlgId); in toASN1Primitive()
|
D | Certificate.java | 28 AlgorithmIdentifier sigAlgId; field in Certificate 64 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in Certificate() 121 return sigAlgId; in getSignatureAlgorithm()
|
D | X509CertificateStructure.java | 31 AlgorithmIdentifier sigAlgId; field in X509CertificateStructure 67 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in X509CertificateStructure() 119 return sigAlgId; in getSignatureAlgorithm()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509SignatureUtil.java | 85 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 87 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 91 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 97 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 106 String algName = (String)algNames.get(sigAlgId.getAlgorithm()); in getSignatureName() 112 return findAlgName(sigAlgId.getAlgorithm()); in getSignatureName()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/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/repackaged_platform/bcprov/src/main/java/com/android/internal/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/jce/provider/ |
D | X509SignatureUtil.java | 64 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 66 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 80 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 88 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
D | X509SignatureUtil.java | 85 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 87 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 91 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 97 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 106 String algName = (String)algNames.get(sigAlgId.getAlgorithm()); in getSignatureName() 112 return findAlgName(sigAlgId.getAlgorithm()); in getSignatureName()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
D | DefaultDigestAlgorithmIdentifierFinder.java | 167 public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId) in find() argument 171 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in find() 173 digAlgId = RSASSAPSSparams.getInstance(sigAlgId.getParameters()).getHashAlgorithm(); in find() 189 …digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigAlgId.getAlgorithm()), … in find()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
D | X509SignatureUtil.java | 65 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 67 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 81 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 89 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/ |
D | X509SignatureUtil.java | 65 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 67 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 81 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 89 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
D | CertUtils.java | 102 …rtificate generateStructure(TBSCertificate tbsCert, AlgorithmIdentifier sigAlgId, byte[] signature) in generateStructure() argument 107 v.add(sigAlgId); in generateStructure() 113 …ateAttrStructure(AttributeCertificateInfo attrInfo, AlgorithmIdentifier sigAlgId, byte[] signature) in generateAttrStructure() argument 118 v.add(sigAlgId); in generateAttrStructure() 124 …eList generateCRLStructure(TBSCertList tbsCertList, AlgorithmIdentifier sigAlgId, byte[] signature) in generateCRLStructure() argument 129 v.add(sigAlgId); in generateCRLStructure()
|