/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/ |
DigestAlgorithmIdentifierFinder.java | 11 * @param sigAlgId the signature algorithm of interest. 14 AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId);
|
DefaultDigestAlgorithmIdentifierFinder.java | 103 public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId) 107 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) 109 digAlgId = RSASSAPSSparams.getInstance(sigAlgId.getParameters()).getHashAlgorithm(); 113 digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigAlgId.getAlgorithm()), DERNull.INSTANCE);
|
DefaultSignatureAlgorithmIdentifierFinder.java | 184 AlgorithmIdentifier sigAlgId; 197 sigAlgId = new AlgorithmIdentifier(sigOID); 201 sigAlgId = new AlgorithmIdentifier(sigOID, (ASN1Encodable)params.get(algorithmName)); 205 sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); 214 encAlgId = sigAlgId; 217 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) 219 digAlgId = ((RSASSAPSSparams)sigAlgId.getParameters()).getHashAlgorithm(); 226 return sigAlgId;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
CertificationRequest.java | 25 protected AlgorithmIdentifier sigAlgId = null; 53 this.sigAlgId = algorithm; 61 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); 72 return sigAlgId; 86 v.add(sigAlgId);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
CertificateList.java | 32 AlgorithmIdentifier sigAlgId; 69 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); 95 return sigAlgId; 128 v.add(sigAlgId);
|
Certificate.java | 26 AlgorithmIdentifier sigAlgId; 62 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); 119 return sigAlgId;
|
X509CertificateStructure.java | 29 AlgorithmIdentifier sigAlgId; 65 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); 117 return sigAlgId;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
X509SignatureUtil.java | 70 AlgorithmIdentifier sigAlgId) 72 ASN1Encodable params = sigAlgId.getParameters(); 76 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) 82 if (sigAlgId.getAlgorithm().equals(X9ObjectIdentifiers.ecdsa_with_SHA2)) 94 String algName = prov.getProperty("Alg.Alias.Signature." + sigAlgId.getAlgorithm().getId()); 109 String algName = provs[i].getProperty("Alg.Alias.Signature." + sigAlgId.getAlgorithm().getId()); 116 return sigAlgId.getAlgorithm().getId();
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaContentSignerBuilder.java | 27 private AlgorithmIdentifier sigAlgId; 32 this.sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find(signatureAlgorithm); 61 final Signature sig = helper.createSignature(sigAlgId); 78 return sigAlgId;
|
OperatorHelper.java | 296 Signature createSignature(AlgorithmIdentifier sigAlgId) 303 sig = helper.createSignature(getSignatureName(sigAlgId)); 310 if (oids.get(sigAlgId.getAlgorithm()) != null) 312 String signatureAlgorithm = (String)oids.get(sigAlgId.getAlgorithm()); 359 AlgorithmIdentifier sigAlgId) 361 ASN1Encodable params = sigAlgId.getParameters(); 365 if (sigAlgId.getAlgorithm().equals(PKCSObjectIdentifiers.id_RSASSA_PSS)) 372 if (oids.containsKey(sigAlgId.getAlgorithm())) 374 return (String)oids.get(sigAlgId.getAlgorithm()); 377 return sigAlgId.getAlgorithm().getId() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
X509SignatureUtil.java | 65 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();
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
CertUtils.java | 87 private static Certificate generateStructure(TBSCertificate tbsCert, AlgorithmIdentifier sigAlgId, byte[] signature) 92 v.add(sigAlgId); 98 private static AttributeCertificate generateAttrStructure(AttributeCertificateInfo attrInfo, AlgorithmIdentifier sigAlgId, byte[] signature) 103 v.add(sigAlgId); 109 private static CertificateList generateCRLStructure(TBSCertList tbsCertList, AlgorithmIdentifier sigAlgId, byte[] signature) 114 v.add(sigAlgId);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
OCSPReqBuilder.java | 153 AlgorithmIdentifier sigAlgId = contentSigner.getAlgorithmIdentifier(); 164 signature = new Signature(sigAlgId, bitSig, new DERSequence(v)); 168 signature = new Signature(sigAlgId, bitSig);
|
BasicOCSPRespBuilder.java | 266 AlgorithmIdentifier sigAlgId = signer.getAlgorithmIdentifier(); 281 return new BasicOCSPResp(new BasicOCSPResponse(tbsResp, sigAlgId, bitSig, chainSeq));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
PKCS10CertificationRequest.java | 352 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.getParameters() [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
X509CRLImpl.java | 98 private AlgorithmId sigAlgId = null; // sig alg in CRL 383 sigVerf = Signature.getInstance(sigAlgId.getName()); 385 sigVerf = Signature.getInstance(sigAlgId.getName(), sigProvider); 450 sigAlgId = AlgorithmId.get(sigEngine.getAlgorithm()); 451 infoSigAlgId = sigAlgId; 460 sigAlgId.encode(tmp); 486 if (sigAlgId != null) 487 sb.append("Signature Algorithm: " + sigAlgId.toString() + 488 ", OID=" + (sigAlgId.getOID()).toString() + "\n"); 724 if (sigAlgId == null [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509V1CertificateGenerator.java | 44 private AlgorithmIdentifier sigAlgId; 171 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); 173 tbsGen.setSignature(sigAlgId); 351 v.add(sigAlgId);
|
X509V3CertificateGenerator.java | 48 private AlgorithmIdentifier sigAlgId; 180 sigAlgId = X509Util.getSigAlgID(sigOID, signatureAlgorithm); 182 tbsGen.setSignature(sigAlgId); 511 v.add(sigAlgId);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
SignerInfoGenerator.java | 258 private Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, AlgorithmIdentifier sigAlgId, byte[] hash) 268 param.put(CMSAttributeTableGenerator.SIGNATURE_ALGORITHM_IDENTIFIER, sigAlgId);
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
OCSPResponse.java | 180 private final AlgorithmId sigAlgId; 220 sigAlgId = null; 356 sigAlgId = AlgorithmId.parse(seqTmp[1]); 577 AlgorithmChecker.check(signerCert.getPublicKey(), sigAlgId); 634 Signature respSignature = Signature.getInstance(sigAlgId.getName()); [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreKeyPairGeneratorSpi.java | 667 AlgorithmIdentifier sigAlgId; 672 sigAlgId = new AlgorithmIdentifier(sigAlgOid); 680 sigAlgId = new AlgorithmIdentifier(sigAlgOid, DERNull.INSTANCE); [all...] |
/prebuilts/sdk/tools/lib/ |
signapk.jar | |
/external/google-tv-pairing-protocol/java/jar/ |
bcprov-jdk15-143.jar | |
/prebuilts/devtools/tools/lib/ |
bcpkix-jdk15on-1.48.jar | |
bcprov-jdk15on-1.48.jar | |