/dports/java/bouncycastle15/crypto-169/pkix/src/main/java/org/bouncycastle/operator/bc/ |
H A D | BcContentSignerBuilder.java | 19 private AlgorithmIdentifier sigAlgId; field in BcContentSignerBuilder 24 public BcContentSignerBuilder(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier digAlgId) in BcContentSignerBuilder() argument 26 this.sigAlgId = sigAlgId; in BcContentSignerBuilder() 41 final Signer sig = createSigner(sigAlgId, digAlgId); in build() 58 return sigAlgId; in build() 80 …protected abstract Signer createSigner(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier algorithm… in createSigner() argument
|
H A D | BcRSAContentSignerBuilder.java | 12 public BcRSAContentSignerBuilder(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier digAlgId) in BcRSAContentSignerBuilder() argument 14 super(sigAlgId, digAlgId); in BcRSAContentSignerBuilder() 17 protected Signer createSigner(AlgorithmIdentifier sigAlgId, AlgorithmIdentifier digAlgId) in createSigner() argument
|
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/bouncycastle/asn1/pkcs/ |
H A D | CertificationRequest.java | 25 protected AlgorithmIdentifier sigAlgId = null; field in CertificationRequest 38 this.sigAlgId = algorithm; in CertificationRequest() 46 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificationRequest() 57 return sigAlgId; in getSignatureAlgorithm() 71 v.add(sigAlgId); in getDERObject()
|
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A 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()
|
/dports/java/bouncycastle15/crypto-169/pkix/src/test/java/org/bouncycastle/cert/test/ |
H A D | BcPKCS10Test.java | 72 AlgorithmIdentifier sigAlgId = sigAlgFinder.find("SHA1withRSA"); in generationTest() local 74 AlgorithmIdentifier digAlgId = digAlgFinder.find(sigAlgId); in generationTest() 76 … BcContentSignerBuilder contentSignerBuilder = new BcRSAContentSignerBuilder(sigAlgId, digAlgId); in generationTest() 114 AlgorithmIdentifier sigAlgId = sigAlgFinder.find(algorithm); in createPSSTest() local 115 AlgorithmIdentifier digAlgId = digAlgFinder.find(sigAlgId); in createPSSTest() 116 … BcContentSignerBuilder contentSignerBuilder = new BcRSAContentSignerBuilder(sigAlgId, digAlgId); in createPSSTest() 166 AlgorithmIdentifier sigAlgId = sigAlgFinder.find("SHA1withRSA"); in nullPointerTest() local 168 AlgorithmIdentifier digAlgId = digAlgFinder.find(sigAlgId); in nullPointerTest() 170 … BcContentSignerBuilder contentSignerBuilder = new BcRSAContentSignerBuilder(sigAlgId, digAlgId); in nullPointerTest()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 507 infoSigAlgId = sigAlgId; in sign() 516 sigAlgId.encode(tmp); in sign() 549 if (sigAlgId != null) in toStringWithAlgName() 553 .append(sigAlgId.getOID()) in toStringWithAlgName() 801 if (sigAlgId == null) in getSigAlgName() 803 return sigAlgId.getName(); in getSigAlgName() 820 if (sigAlgId == null) in getSigAlgOID() 836 if (sigAlgId == null) in getSigAlgParams() 851 return sigAlgId; in getSigAlgId() 1104 sigAlgId = AlgorithmId.parse(seq[1]); in parse() [all …]
|
/dports/java/bouncycastle15/crypto-169/prov/src/main/jdk1.1/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
H A D | SignatureUtil.java | 32 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 34 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 38 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 44 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 52 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
|
H A D | X509SignatureUtil.java | 78 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 80 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 84 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 90 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 99 String algName = (String)algNames.get(sigAlgId.getAlgorithm()); in getSignatureName() 105 return findAlgName(sigAlgId.getAlgorithm()); in getSignatureName()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 373 String sigName = sigAlgId.getName(); in verify() 513 infoSigAlgId = sigAlgId; in sign() 522 sigAlgId.encode(tmp); in sign() 555 if (sigAlgId != null) in toStringWithAlgName() 559 .append(sigAlgId.getOID()) in toStringWithAlgName() 807 if (sigAlgId == null) in getSigAlgName() 809 return sigAlgId.getName(); in getSigAlgName() 826 if (sigAlgId == null) in getSigAlgOID() 842 if (sigAlgId == null) in getSigAlgParams() 857 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 373 String sigName = sigAlgId.getName(); in verify() 513 infoSigAlgId = sigAlgId; in sign() 522 sigAlgId.encode(tmp); in sign() 555 if (sigAlgId != null) in toStringWithAlgName() 559 .append(sigAlgId.getOID()) in toStringWithAlgName() 807 if (sigAlgId == null) in getSigAlgName() 809 return sigAlgId.getName(); in getSigAlgName() 826 if (sigAlgId == null) in getSigAlgOID() 842 if (sigAlgId == null) in getSigAlgParams() 857 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 373 String sigName = sigAlgId.getName(); in verify() 513 infoSigAlgId = sigAlgId; in sign() 522 sigAlgId.encode(tmp); in sign() 555 if (sigAlgId != null) in toStringWithAlgName() 559 .append(sigAlgId.getOID()) in toStringWithAlgName() 807 if (sigAlgId == null) in getSigAlgName() 809 return sigAlgId.getName(); in getSigAlgName() 826 if (sigAlgId == null) in getSigAlgOID() 842 if (sigAlgId == null) in getSigAlgParams() 857 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 373 String sigName = sigAlgId.getName(); in verify() 513 infoSigAlgId = sigAlgId; in sign() 522 sigAlgId.encode(tmp); in sign() 555 if (sigAlgId != null) in toStringWithAlgName() 559 .append(sigAlgId.getOID()) in toStringWithAlgName() 807 if (sigAlgId == null) in getSigAlgName() 809 return sigAlgId.getName(); in getSigAlgName() 826 if (sigAlgId == null) in getSigAlgOID() 842 if (sigAlgId == null) in getSigAlgParams() 857 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/bouncycastle15/crypto-169/prov/src/main/jdk1.3/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
H A D | SignatureUtil.java | 59 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 61 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 65 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 71 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 79 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
|
H A 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()
|
/dports/java/bouncycastle15/crypto-169/prov/src/main/java/org/bouncycastle/jce/provider/ |
H A D | X509SignatureUtil.java | 63 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 65 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 69 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 75 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) in getSignatureName() 83 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 373 String sigName = sigAlgId.getName(); in verify() 426 String sigName = sigAlgId.getName(); in verify() 503 infoSigAlgId = sigAlgId; in sign() 512 sigAlgId.encode(tmp); in sign() 543 if (sigAlgId != null) in toStringWithAlgName() 777 if (sigAlgId == null) in getSigAlgName() 779 return sigAlgId.getName(); in getSigAlgName() 796 if (sigAlgId == null) in getSigAlgOID() 812 if (sigAlgId == null) in getSigAlgParams() 827 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 372 String sigName = sigAlgId.getName(); in verify() 493 infoSigAlgId = sigAlgId; in sign() 502 sigAlgId.encode(tmp); in sign() 535 if (sigAlgId != null) in toStringWithAlgName() 539 .append(sigAlgId.getOID()) in toStringWithAlgName() 788 if (sigAlgId == null) in getSigAlgName() 790 return sigAlgId.getName(); in getSigAlgName() 807 if (sigAlgId == null) in getSigAlgOID() 823 if (sigAlgId == null) in getSigAlgParams() 838 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 372 String sigName = sigAlgId.getName(); in verify() 493 infoSigAlgId = sigAlgId; in sign() 502 sigAlgId.encode(tmp); in sign() 535 if (sigAlgId != null) in toStringWithAlgName() 539 .append(sigAlgId.getOID()) in toStringWithAlgName() 788 if (sigAlgId == null) in getSigAlgName() 790 return sigAlgId.getName(); in getSigAlgName() 807 if (sigAlgId == null) in getSigAlgOID() 823 if (sigAlgId == null) in getSigAlgParams() 838 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 372 String sigName = sigAlgId.getName(); in verify() 502 infoSigAlgId = sigAlgId; in sign() 511 sigAlgId.encode(tmp); in sign() 544 if (sigAlgId != null) in toStringWithAlgName() 548 .append(sigAlgId.getOID()) in toStringWithAlgName() 796 if (sigAlgId == null) in getSigAlgName() 798 return sigAlgId.getName(); in getSigAlgName() 815 if (sigAlgId == null) in getSigAlgOID() 831 if (sigAlgId == null) in getSigAlgParams() 846 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/security/x509/ |
H A D | X509CRLImpl.java | 373 String sigName = sigAlgId.getName(); in verify() 426 String sigName = sigAlgId.getName(); in verify() 503 infoSigAlgId = sigAlgId; in sign() 512 sigAlgId.encode(tmp); in sign() 543 if (sigAlgId != null) in toStringWithAlgName() 777 if (sigAlgId == null) in getSigAlgName() 779 return sigAlgId.getName(); in getSigAlgName() 796 if (sigAlgId == null) in getSigAlgOID() 812 if (sigAlgId == null) in getSigAlgParams() 827 return sigAlgId; in getSigAlgId() [all …]
|
/dports/java/bouncycastle15/crypto-169/pkix/src/main/java/org/bouncycastle/operator/jcajce/ |
H A D | JcaContentSignerBuilder.java | 47 private AlgorithmIdentifier sigAlgId; field in JcaContentSignerBuilder 53 this.sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find(signatureAlgorithm); in JcaContentSignerBuilder() 66 this.sigAlgId = new AlgorithmIdentifier( in JcaContentSignerBuilder() 74 this.sigAlgId = new AlgorithmIdentifier( in JcaContentSignerBuilder() 115 final Signature sig = helper.createSignature(sigAlgId); in build() 116 final AlgorithmIdentifier signatureAlgId = sigAlgId; in build() 166 final ASN1Sequence sigAlgIds = ASN1Sequence.getInstance(sigAlgId.getParameters()); in buildComposite() 197 return sigAlgId; in buildComposite()
|
/dports/java/bouncycastle15/crypto-169/prov/src/main/jdk1.3/org/bouncycastle/jce/ |
H A D | PKCS10CertificationRequest.java | 289 this.sigAlgId = new AlgorithmIdentifier(sigOID); in PKCS10CertificationRequest() 297 this.sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in PKCS10CertificationRequest() 435 sig = Signature.getInstance(getSignatureName(sigAlgId)); in verify() 439 sig = Signature.getInstance(getSignatureName(sigAlgId), provider); in verify() 447 if (oids.get(sigAlgId.getAlgorithm()) != null) in verify() 449 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); in verify() 466 setSignatureParameters(sig, sigAlgId.getParameters(), provider); in verify() 519 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 521 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 525 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() [all …]
|
/dports/java/bouncycastle15/crypto-169/core/src/main/java/org/bouncycastle/asn1/x509/ |
H A 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()
|
/dports/java/bouncycastle15/crypto-169/pkix/src/test/j2me/org/bouncycastle/cms/test/ |
H A D | CMSTestUtil.java | 164 …AlgorithmIdentifier sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find("SHA1WithRSAEn… in makeV1Certificate() local 165 AlgorithmIdentifier digAlgId = new DefaultDigestAlgorithmIdentifierFinder().find(sigAlgId); in makeV1Certificate() 167 …ContentSigner sigGen = new BcRSAContentSignerBuilder(sigAlgId, digAlgId).build((AsymmetricKeyParam… in makeV1Certificate() 187 …AlgorithmIdentifier sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find("SHA1WithRSAEn… in makeCertificate() local 188 AlgorithmIdentifier digAlgId = new DefaultDigestAlgorithmIdentifierFinder().find(sigAlgId); in makeCertificate() 190 …ContentSigner sigGen = new BcRSAContentSignerBuilder(sigAlgId, digAlgId).build((AsymmetricKeyParam… in makeCertificate()
|
/dports/java/bouncycastle15/crypto-169/prov/src/main/jdk1.4/org/bouncycastle/jce/provider/ |
H A D | X509SignatureUtil.java | 56 AlgorithmIdentifier sigAlgId) in getSignatureName() argument 58 ASN1Encodable params = sigAlgId.getParameters(); in getSignatureName() 62 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) in getSignatureName() 70 return sigAlgId.getAlgorithm().getId(); in getSignatureName()
|