Searched refs:algorithmIdentifier (Results 1 – 9 of 9) sorted by relevance
7 private AlgorithmIdentifier algorithmIdentifier; field in GenericKey16 this.algorithmIdentifier = null; in GenericKey()20 public GenericKey(AlgorithmIdentifier algorithmIdentifier, byte[] representation) in GenericKey() argument22 this.algorithmIdentifier = algorithmIdentifier; in GenericKey()26 protected GenericKey(AlgorithmIdentifier algorithmIdentifier, Object representation) in GenericKey() argument28 this.algorithmIdentifier = algorithmIdentifier; in GenericKey()34 return algorithmIdentifier; in getAlgorithmIdentifier()
27 private transient AlgorithmIdentifier algorithmIdentifier; field in BCRSAPublicKey32 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()
31 private transient AlgorithmIdentifier algorithmIdentifier; field in BCRSAPublicKey36 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()
37 …mProtection(AlgorithmIdentifier digestAlgorithm, int type, AlgorithmIdentifier algorithmIdentifier) in CMSAlgorithmProtection() argument39 if (digestAlgorithm == null || algorithmIdentifier == null) in CMSAlgorithmProtection()48 this.signatureAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection()54 this.macAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection()
39 …mProtection(AlgorithmIdentifier digestAlgorithm, int type, AlgorithmIdentifier algorithmIdentifier) in CMSAlgorithmProtection() argument41 if (digestAlgorithm == null || algorithmIdentifier == null) in CMSAlgorithmProtection()50 this.signatureAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection()56 this.macAlgorithm = algorithmIdentifier; in CMSAlgorithmProtection()
12 private final AlgorithmIdentifier algorithmIdentifier; field in RecipientOperator17 this.algorithmIdentifier = decryptor.getAlgorithmIdentifier(); in RecipientOperator()23 this.algorithmIdentifier = macCalculator.getAlgorithmIdentifier(); in RecipientOperator()
46 public DigestCalculator getDigestCalculator(AlgorithmIdentifier algorithmIdentifier) in getDigestCalculator() argument49 return digestProvider.get(algorithmIdentifier); in getDigestCalculator()
1869 public int getKeySize(AlgorithmIdentifier algorithmIdentifier) in getKeySize() argument1872 Integer keySize = (Integer)KEY_SIZES.get(algorithmIdentifier.getAlgorithm()); in getKeySize()
1876 public int getKeySize(AlgorithmIdentifier algorithmIdentifier) in getKeySize() argument1879 Integer keySize = (Integer)KEY_SIZES.get(algorithmIdentifier.getAlgorithm()); in getKeySize()