HomeSort by relevance Sort by last modified time
    Searched refs:algId (Results 1 - 25 of 34) sorted by null

1 2

  /libcore/ojluni/src/main/java/sun/security/x509/
CertificateAlgorithmId.java 42 private AlgorithmId algId;
65 * @param algId the Algorithm identifier
67 public CertificateAlgorithmId(AlgorithmId algId) {
68 this.algId = algId;
79 algId = AlgorithmId.parse(val);
90 algId = AlgorithmId.parse(val);
97 if (algId == null) return "";
98 return (algId.toString() +
99 ", OID = " + (algId.getOID()).toString() + "\n")
    [all...]
X509CertInfo.java 86 protected CertificateAlgorithmId algId = null;
295 || issuer == null || algId == null || serialNum == null) {
303 sb.append(" Signature Algorithm: " + algId.toString() + "\n");
398 algId.set(suffix, val);
483 algId = null;
485 algId.delete(suffix);
575 return(algId);
577 return(algId.get(suffix));
646 algId = new CertificateAlgorithmId(in);
764 algId.encode(tmp)
    [all...]
X509CertImpl.java 124 protected AlgorithmId algId = null;
451 sigVerf = Signature.getInstance(algId.getName());
453 sigVerf = Signature.getInstance(algId.getName(), sigProvider);
496 sigVerf = Signature.getInstance(algId.getName());
498 sigVerf = Signature.getInstance(algId.getName(), sigProvider);
581 algId = AlgorithmId.get(sigEngine.getAlgorithm());
591 algId.encode(tmp);
687 return(algId);
777 algId = null;
816 if (info == null || algId == null || signature == null
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
EncryptionScheme.java 13 private AlgorithmIdentifier algId;
19 this.algId = new AlgorithmIdentifier(objectId, parameters);
25 this.algId = AlgorithmIdentifier.getInstance(seq);
44 return algId.getAlgorithm();
49 return algId.getParameters();
54 return algId.toASN1Primitive();
KeyDerivationFunc.java 13 private AlgorithmIdentifier algId;
19 this.algId = new AlgorithmIdentifier(objectId, parameters);
25 this.algId = AlgorithmIdentifier.getInstance(seq);
44 return algId.getAlgorithm();
49 return algId.getParameters();
54 return algId.toASN1Primitive();
EncryptedPrivateKeyInfo.java 17 private AlgorithmIdentifier algId;
25 algId = AlgorithmIdentifier.getInstance(e.nextElement());
30 AlgorithmIdentifier algId,
33 this.algId = algId;
54 return algId;
81 v.add(algId);
PrivateKeyInfo.java 26 private AlgorithmIdentifier algId;
52 AlgorithmIdentifier algId,
56 this(algId, privateKey, null);
60 AlgorithmIdentifier algId,
66 this.algId = algId;
85 algId = AlgorithmIdentifier.getInstance(e.nextElement());
96 return algId;
103 return algId;
154 v.add(algId);
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
SubjectPublicKeyInfo.java 25 private AlgorithmIdentifier algId;
51 AlgorithmIdentifier algId,
56 this.algId = algId;
60 AlgorithmIdentifier algId,
64 this.algId = algId;
81 this.algId = AlgorithmIdentifier.getInstance(e.nextElement());
87 return algId;
96 return algId;
    [all...]
DigestInfo.java 26 private AlgorithmIdentifier algId;
51 AlgorithmIdentifier algId,
55 this.algId = algId;
63 algId = AlgorithmIdentifier.getInstance(e.nextElement());
69 return algId;
81 v.add(algId);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
KeyUtil.java 11 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData)
15 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData));
23 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData)
27 return getEncodedSubjectPublicKeyInfo(new SubjectPublicKeyInfo(algId, keyData));
47 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey)
51 PrivateKeyInfo info = new PrivateKeyInfo(algId, privKey.toASN1Primitive());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
PublicKeyFactory.java 88 AlgorithmIdentifier algId = keyInfo.getAlgorithm();
90 if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.rsaEncryption)
91 || algId.getAlgorithm().equals(X509ObjectIdentifiers.id_ea_rsa))
97 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.dhpublicnumber))
103 DomainParameters dhParams = DomainParameters.getInstance(algId.getParameters());
129 else if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.dhKeyAgreement))
131 DHParameter params = DHParameter.getInstance(algId.getParameters());
141 // else if (algId.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm))
143 // ElGamalParameter params = ElGamalParameter.getInstance(algId.getParameters());
150 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa
    [all...]
PrivateKeyFactory.java 81 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm();
83 if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.rsaEncryption))
93 // else if (algId.getObjectId().equals(X9ObjectIdentifiers.dhpublicnumber))
94 else if (algId.getAlgorithm().equals(PKCSObjectIdentifiers.dhKeyAgreement))
96 DHParameter params = DHParameter.getInstance(algId.getParameters());
106 // else if (algId.getAlgorithm().equals(OIWObjectIdentifiers.elGamalAlgorithm))
108 // ElGamalParameter params = ElGamalParameter.getInstance(algId.getParameters());
115 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_dsa))
118 ASN1Encodable de = algId.getParameters();
129 else if (algId.getAlgorithm().equals(X9ObjectIdentifiers.id_ecPublicKey)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DigestSignatureSpi.java 51 private AlgorithmIdentifier algId;
60 this.algId = null;
71 this.algId = new AlgorithmIdentifier(objId, DERNull.INSTANCE);
245 if (algId == null)
251 DigestInfo dInfo = new DigestInfo(algId, hash);
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
CMSSignedHelper.java 146 AlgorithmIdentifier fixAlgID(AlgorithmIdentifier algId)
148 if (algId.getParameters() == null)
150 return new AlgorithmIdentifier(algId.getAlgorithm(), DERNull.INSTANCE);
153 return algId;
  /system/extras/verity/
BootSignature.java 109 ASN1Sequence algId = (ASN1Sequence) sequence.getObjectAt(2);
111 (ASN1ObjectIdentifier) algId.getObjectAt(0));
143 public void setSignature(byte[] sig, AlgorithmIdentifier algId) {
144 algorithmIdentifier = algId;
Utils.java 260 AlgorithmIdentifier algId) throws Exception {
261 String algName = ID_TO_ALG.get(algId.getAlgorithm().getId());
264 throw new IllegalArgumentException("Unsupported algorithm " + algId.getAlgorithm());
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
RSADigestSigner.java 31 private final AlgorithmIdentifier algId;
74 this.algId = new AlgorithmIdentifier(digestOid, DERNull.INSTANCE);
242 DigestInfo dInfo = new DigestInfo(algId, hash);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
PKCS12KeyStoreSpi.java 608 AlgorithmIdentifier algId,
614 ASN1ObjectIdentifier algorithm = algId.getAlgorithm();
619 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters());
636 Cipher cipher = createCipher(Cipher.UNWRAP_MODE, password, algId);
683 AlgorithmIdentifier algId,
689 ASN1ObjectIdentifier algorithm = algId.getAlgorithm();
694 PKCS12PBEParams pbeParams = PKCS12PBEParams.getInstance(algId.getParameters());
718 Cipher cipher = createCipher(mode, password, algId);
733 private Cipher createCipher(int mode, char[] password, AlgorithmIdentifier algId)
736 PBES2Parameters alg = PBES2Parameters.getInstance(algId.getParameters())
    [all...]
  /external/tpm2/
CryptUtil_fp.h 168 CryptHashBlock(TPM_ALG_ID algId, // IN: the hash algorithm to use
229 BOOL CryptIsAsymAlgorithm(TPM_ALG_ID algID // IN: algorithm ID
CryptUtil.c 483 TPM_ALG_ID algId, // IN: the hash algorithm to use
490 TEST_HASH(algId);
491 return _cpri__HashBlock(algId, blockSize, block, retSize, ret);
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/IndustryStandard/
Tpm12.h     [all...]
  /device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
Tpm12.h     [all...]
  /prebuilts/sdk/tools/lib/
signapk.jar 
  /external/google-tv-pairing-protocol/java/jar/
bcprov-jdk15-143.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.50/
bcprov-jdk15on-1.50.jar 

Completed in 2053 milliseconds

1 2