Searched defs:sigAlgId (Results 1 - 16 of 16) sorted by relevance

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
H A DDigestAlgorithmIdentifierFinder.java11 * @param sigAlgId the signature algorithm of interest.
14 AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId); argument
H A DDefaultDigestAlgorithmIdentifierFinder.java140 public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId) argument
144 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
146 digAlgId = RSASSAPSSparams.getInstance(sigAlgId.getParameters()).getHashAlgorithm();
150 digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigAlgId.getAlgorithm()), DERNull.INSTANCE);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
H A DX509SignatureUtil.java63 AlgorithmIdentifier sigAlgId)
65 ASN1Encodable params = sigAlgId.getParameters();
69 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
75 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2))
87 String algName = prov.getProperty("Alg.Alias.Signature." + sigAlgId.getAlgorithm().getId());
102 String algName = provs[i].getProperty("Alg.Alias.Signature." + sigAlgId.getAlgorithm().getId());
109 return sigAlgId.getAlgorithm().getId();
62 getSignatureName( AlgorithmIdentifier sigAlgId) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DX509SignatureUtil.java65 AlgorithmIdentifier sigAlgId)
67 ASN1Encodable params = sigAlgId.getParameters();
72 // if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
79 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2))
87 return sigAlgId.getAlgorithm().getId();
64 getSignatureName( AlgorithmIdentifier sigAlgId) argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
H A DCertificationRequest.java25 protected AlgorithmIdentifier sigAlgId = null; field in class:CertificationRequest
53 this.sigAlgId = algorithm;
64 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1));
75 return sigAlgId;
89 v.add(sigAlgId);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
H A DJcaContentSignerBuilder.java27 private AlgorithmIdentifier sigAlgId; field in class:JcaContentSignerBuilder
32 this.sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find(signatureAlgorithm);
61 final Signature sig = helper.createSignature(sigAlgId);
62 final AlgorithmIdentifier signatureAlgId = sigAlgId;
H A DOperatorHelper.java297 Signature createSignature(AlgorithmIdentifier sigAlgId) argument
304 sig = helper.createSignature(getSignatureName(sigAlgId));
311 if (oids.get(sigAlgId.getAlgorithm()) != null)
313 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm());
323 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
325 ASN1Sequence seq = ASN1Sequence.getInstance(sigAlgId.getParameters());
381 AlgorithmIdentifier sigAlgId)
383 ASN1Encodable params = sigAlgId.getParameters();
387 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS))
394 if (oids.containsKey(sigAlgId
380 getSignatureName( AlgorithmIdentifier sigAlgId) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
H A DCertificate.java26 AlgorithmIdentifier sigAlgId; field in class:Certificate
62 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1));
119 return sigAlgId;
H A DCertificateList.java32 AlgorithmIdentifier sigAlgId; field in class:CertificateList
69 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1));
95 return sigAlgId;
128 v.add(sigAlgId);
H A DX509CertificateStructure.java29 AlgorithmIdentifier sigAlgId; field in class:X509CertificateStructure
65 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1));
117 return sigAlgId;
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
H A DCertUtils.java100 private static Certificate generateStructure(TBSCertificate tbsCert, AlgorithmIdentifier sigAlgId, byte[] signature) argument
105 v.add(sigAlgId);
111 private static AttributeCertificate generateAttrStructure(AttributeCertificateInfo attrInfo, AlgorithmIdentifier sigAlgId, byte[] signature) argument
116 v.add(sigAlgId);
122 private static CertificateList generateCRLStructure(TBSCertList tbsCertList, AlgorithmIdentifier sigAlgId, byte[] signature) argument
127 v.add(sigAlgId);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DSignerInfoGenerator.java258 private Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, AlgorithmIdentifier sigAlgId, byte[] hash) argument
268 param.put(CMSAttributeTableGenerator.SIGNATURE_ALGORITHM_IDENTIFIER, sigAlgId);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
H A DPKCS10CertificationRequest.java352 this.sigAlgId = new AlgorithmIdentifier(sigOID);
356 this.sigAlgId = new AlgorithmIdentifier(sigOID, (ASN1Encodable)params.get(algorithmName));
360 this.sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE);
498 sig = Signature.getInstance(getSignatureName(sigAlgId));
502 sig = Signature.getInstance(getSignatureName(sigAlgId), provider);
510 if (oids.get(sigAlgId.getAlgorithm()) != null)
512 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm());
529 setSignatureParameters(sig, sigAlgId.getParameters());
593 AlgorithmIdentifier sigAlgId)
595 ASN1Encodable params = sigAlgId
592 getSignatureName( AlgorithmIdentifier sigAlgId) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
H A DX509V1CertificateGenerator.java49 private AlgorithmIdentifier sigAlgId; field in class:X509V1CertificateGenerator
176 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm);
178 tbsGen.setSignature(sigAlgId);
356 v.add(sigAlgId);
H A DX509V3CertificateGenerator.java55 private AlgorithmIdentifier sigAlgId; field in class:X509V3CertificateGenerator
187 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm);
189 tbsGen.setSignature(sigAlgId);
518 v.add(sigAlgId);
/external/google-tv-pairing-protocol/java/jar/
H A Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY.DSA META ...

Completed in 254 milliseconds