Home
last modified time | relevance | path

Searched refs:algorithmIdentifier (Results 1 – 9 of 9) sorted by relevance

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DGenericKey.java7 private AlgorithmIdentifier algorithmIdentifier; field in GenericKey
16 this.algorithmIdentifier = null; in GenericKey()
20 public GenericKey(AlgorithmIdentifier algorithmIdentifier, byte[] representation) in GenericKey() argument
22 this.algorithmIdentifier = algorithmIdentifier; in GenericKey()
26 protected GenericKey(AlgorithmIdentifier algorithmIdentifier, Object representation) in GenericKey() argument
28 this.algorithmIdentifier = algorithmIdentifier; in GenericKey()
34 return algorithmIdentifier; in getAlgorithmIdentifier()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java27 private transient AlgorithmIdentifier algorithmIdentifier; field in BCRSAPublicKey
32 this.algorithmIdentifier = DEFAULT_ALGORITHM_IDENTIFIER; in BCRSAPublicKey()
40 this.algorithmIdentifier = DEFAULT_ALGORITHM_IDENTIFIER; in BCRSAPublicKey()
48 this.algorithmIdentifier = DEFAULT_ALGORITHM_IDENTIFIER; in BCRSAPublicKey()
65 this.algorithmIdentifier = info.getAlgorithm(); in populateFromPublicKeyInfo()
107 …return KeyUtil.getEncodedSubjectPublicKeyInfo(algorithmIdentifier, new org.bouncycastle.asn1.pkcs.… in getEncoded()
157 algorithmIdentifier = AlgorithmIdentifier.getInstance(in.readObject()); in readObject()
161 algorithmIdentifier = DEFAULT_ALGORITHM_IDENTIFIER; in readObject()
171 if (!algorithmIdentifier.equals(DEFAULT_ALGORITHM_IDENTIFIER)) in writeObject()
173 out.writeObject(algorithmIdentifier.getEncoded()); in writeObject()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DBCRSAPublicKey.java31 private transient AlgorithmIdentifier algorithmIdentifier; field in BCRSAPublicKey
36 this.algorithmIdentifier = DEFAULT_ALGORITHM_IDENTIFIER; in BCRSAPublicKey()
44 this.algorithmIdentifier = DEFAULT_ALGORITHM_IDENTIFIER; in BCRSAPublicKey()
52 this.algorithmIdentifier = DEFAULT_ALGORITHM_IDENTIFIER; in BCRSAPublicKey()
69 this.algorithmIdentifier = info.getAlgorithm(); in populateFromPublicKeyInfo()
111 …return KeyUtil.getEncodedSubjectPublicKeyInfo(algorithmIdentifier, new com.android.org.bouncycastl… in getEncoded()
161 algorithmIdentifier = AlgorithmIdentifier.getInstance(in.readObject()); in readObject()
165 algorithmIdentifier = DEFAULT_ALGORITHM_IDENTIFIER; in readObject()
175 if (!algorithmIdentifier.equals(DEFAULT_ALGORITHM_IDENTIFIER)) in writeObject()
177 out.writeObject(algorithmIdentifier.getEncoded()); in writeObject()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DCMSAlgorithmProtection.java37 …mProtection(AlgorithmIdentifier digestAlgorithm, int type, AlgorithmIdentifier algorithmIdentifier) in CMSAlgorithmProtection() argument
39 if (digestAlgorithm == null || algorithmIdentifier == null) in CMSAlgorithmProtection()
48 this.signatureAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection()
54 this.macAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DCMSAlgorithmProtection.java39 …mProtection(AlgorithmIdentifier digestAlgorithm, int type, AlgorithmIdentifier algorithmIdentifier) in CMSAlgorithmProtection() argument
41 if (digestAlgorithm == null || algorithmIdentifier == null) in CMSAlgorithmProtection()
50 this.signatureAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection()
56 this.macAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DRecipientOperator.java12 private final AlgorithmIdentifier algorithmIdentifier; field in RecipientOperator
17 this.algorithmIdentifier = decryptor.getAlgorithmIdentifier(); in RecipientOperator()
23 this.algorithmIdentifier = macCalculator.getAlgorithmIdentifier(); in RecipientOperator()
DSignerInformationVerifier.java46 public DigestCalculator getDigestCalculator(AlgorithmIdentifier algorithmIdentifier) in getDigestCalculator() argument
49 return digestProvider.get(algorithmIdentifier); in getDigestCalculator()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java1869 public int getKeySize(AlgorithmIdentifier algorithmIdentifier) in getKeySize() argument
1872 Integer keySize = (Integer)KEY_SIZES.get(algorithmIdentifier.getAlgorithm()); in getKeySize()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/keystore/pkcs12/
DPKCS12KeyStoreSpi.java1876 public int getKeySize(AlgorithmIdentifier algorithmIdentifier) in getKeySize() argument
1879 Integer keySize = (Integer)KEY_SIZES.get(algorithmIdentifier.getAlgorithm()); in getKeySize()