Home
last modified time | relevance | path

Searched refs:AlgorithmIdentifier (Results 1 – 25 of 110) sorted by relevance

12345

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAESOAEPparams.java13 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
18 private AlgorithmIdentifier hashAlgorithm;
19 private AlgorithmIdentifier maskGenAlgorithm;
20 private AlgorithmIdentifier pSourceAlgorithm;
22 …public final static AlgorithmIdentifier DEFAULT_HASH_ALGORITHM = new AlgorithmIdentifier(OIWObject…
23 …public final static AlgorithmIdentifier DEFAULT_MASK_GEN_FUNCTION = new AlgorithmIdentifier(PKCSOb…
24 …public final static AlgorithmIdentifier DEFAULT_P_SOURCE_ALGORITHM = new AlgorithmIdentifier(PKCSO…
52 AlgorithmIdentifier hashAlgorithm, in RSAESOAEPparams()
53 AlgorithmIdentifier maskGenAlgorithm, in RSAESOAEPparams()
54 AlgorithmIdentifier pSourceAlgorithm) in RSAESOAEPparams()
[all …]
DRSASSAPSSparams.java15 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
20 private AlgorithmIdentifier hashAlgorithm;
21 private AlgorithmIdentifier maskGenAlgorithm;
25 …public final static AlgorithmIdentifier DEFAULT_HASH_ALGORITHM = new AlgorithmIdentifier(OIWObject…
26 …public final static AlgorithmIdentifier DEFAULT_MASK_GEN_FUNCTION = new AlgorithmIdentifier(PKCSOb…
57 AlgorithmIdentifier hashAlgorithm, in RSASSAPSSparams()
58 AlgorithmIdentifier maskGenAlgorithm, in RSASSAPSSparams()
83 hashAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSASSAPSSparams()
86 maskGenAlgorithm = AlgorithmIdentifier.getInstance(o, true); in RSASSAPSSparams()
100 public AlgorithmIdentifier getHashAlgorithm() in getHashAlgorithm()
[all …]
DPBKDF2Params.java15 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
32 …private static final AlgorithmIdentifier algid_hmacWithSHA1 = new AlgorithmIdentifier(PKCSObjectId…
37 private AlgorithmIdentifier prf;
104 AlgorithmIdentifier prf) in PBKDF2Params()
122 AlgorithmIdentifier prf) in PBKDF2Params()
159 prf = AlgorithmIdentifier.getInstance(o); in PBKDF2Params()
214 public AlgorithmIdentifier getPrf() in getPrf()
DPrivateKeyInfo.java20 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
26 private AlgorithmIdentifier algId;
52 AlgorithmIdentifier algId, in PrivateKeyInfo()
60 AlgorithmIdentifier algId, in PrivateKeyInfo()
85 algId = AlgorithmIdentifier.getInstance(e.nextElement()); in PrivateKeyInfo()
94 public AlgorithmIdentifier getPrivateKeyAlgorithm() in getPrivateKeyAlgorithm()
101 public AlgorithmIdentifier getAlgorithmId() in getAlgorithmId()
DEncryptedPrivateKeyInfo.java12 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
17 private AlgorithmIdentifier algId;
25 algId = AlgorithmIdentifier.getInstance(e.nextElement()); in EncryptedPrivateKeyInfo()
30 AlgorithmIdentifier algId, in EncryptedPrivateKeyInfo()
52 public AlgorithmIdentifier getEncryptionAlgorithm() in getEncryptionAlgorithm()
DCertificationRequest.java9 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
25 protected AlgorithmIdentifier sigAlgId = null;
49 AlgorithmIdentifier algorithm, in CertificationRequest()
61 sigAlgId = AlgorithmIdentifier.getInstance(seq.getObjectAt(1)); in CertificationRequest()
70 public AlgorithmIdentifier getSignatureAlgorithm() in getSignatureAlgorithm()
DEncryptionScheme.java8 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
13 private AlgorithmIdentifier algId;
19 this.algId = new AlgorithmIdentifier(objectId, parameters); in EncryptionScheme()
25 this.algId = AlgorithmIdentifier.getInstance(seq); in EncryptionScheme()
DKeyDerivationFunc.java8 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
13 private AlgorithmIdentifier algId;
19 this.algId = new AlgorithmIdentifier(objectId, parameters); in KeyDerivationFunc()
25 this.algId = AlgorithmIdentifier.getInstance(seq); in KeyDerivationFunc()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java22 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
145AlgorithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTA…
148AlgorithmIdentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull…
151AlgorithmIdentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull…
154AlgorithmIdentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull…
157AlgorithmIdentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull…
182 private static AlgorithmIdentifier generate(String signatureAlgorithm) in generate()
184 AlgorithmIdentifier sigAlgId; in generate()
185 AlgorithmIdentifier encAlgId; in generate()
186 AlgorithmIdentifier digAlgId; in generate()
[all …]
DGenericKey.java3 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
7 private AlgorithmIdentifier algorithmIdentifier;
20 public GenericKey(AlgorithmIdentifier algorithmIdentifier, byte[] representation) in GenericKey()
26 protected GenericKey(AlgorithmIdentifier algorithmIdentifier, Object representation) in GenericKey()
32 public AlgorithmIdentifier getAlgorithmIdentifier() in getAlgorithmIdentifier()
DDigestAlgorithmIdentifierFinder.java3 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
14 AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId); in find()
23 AlgorithmIdentifier find(String digAlgName); in find()
DDefaultDigestAlgorithmIdentifierFinder.java16 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
89 public AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId) in find()
91 AlgorithmIdentifier digAlgId; in find()
99 …digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigAlgId.getAlgorithm()), … in find()
105 public AlgorithmIdentifier find(String digAlgName) in find()
107 …return new AlgorithmIdentifier((ASN1ObjectIdentifier)digestNameToOids.get(digAlgName), DERNull.INS… in find()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DAlgorithmIdentifier.java13 public class AlgorithmIdentifier class
20 public static AlgorithmIdentifier getInstance( in getInstance()
27 public static AlgorithmIdentifier getInstance( in getInstance()
30 if (obj== null || obj instanceof AlgorithmIdentifier) in getInstance()
32 return (AlgorithmIdentifier)obj; in getInstance()
38 return new AlgorithmIdentifier((ASN1ObjectIdentifier)obj); in getInstance()
44 return new AlgorithmIdentifier((String)obj); in getInstance()
47 return new AlgorithmIdentifier(ASN1Sequence.getInstance(obj)); in getInstance()
50 public AlgorithmIdentifier( in AlgorithmIdentifier() method in AlgorithmIdentifier
60 public AlgorithmIdentifier( in AlgorithmIdentifier() method in AlgorithmIdentifier
[all …]
DSubjectPublicKeyInfo.java25 private AlgorithmIdentifier algId;
51 AlgorithmIdentifier algId, in SubjectPublicKeyInfo()
60 AlgorithmIdentifier algId, in SubjectPublicKeyInfo()
78 this.algId = AlgorithmIdentifier.getInstance(e.nextElement()); in SubjectPublicKeyInfo()
82 public AlgorithmIdentifier getAlgorithm() in getAlgorithm()
91 public AlgorithmIdentifier getAlgorithmId() in getAlgorithmId()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java20 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
56 AlgorithmIdentifier hashAlgorithm = new AlgorithmIdentifier( in engineGetEncoded()
60 AlgorithmIdentifier maskGenAlgorithm = new AlgorithmIdentifier( in engineGetEncoded()
62 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
64 AlgorithmIdentifier pSourceAlgorithm = new AlgorithmIdentifier( in engineGetEncoded()
124 …new MGF1ParameterSpec(AlgorithmIdentifier.getInstance(oaepP.getMaskGenAlgorithm().getParameters())… in engineInit()
171 AlgorithmIdentifier hashAlgorithm = new AlgorithmIdentifier( in engineGetEncoded()
175 AlgorithmIdentifier maskGenAlgorithm = new AlgorithmIdentifier( in engineGetEncoded()
177 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
231 …new MGF1ParameterSpec(AlgorithmIdentifier.getInstance(pssP.getMaskGenAlgorithm().getParameters()).… in engineInit()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DSignerInfo.java16 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
80 private AlgorithmIdentifier digAlgorithm;
82 private AlgorithmIdentifier digEncryptionAlgorithm;
126 AlgorithmIdentifier digAlgorithm, in SignerInfo()
128 AlgorithmIdentifier digEncryptionAlgorithm, in SignerInfo()
160 AlgorithmIdentifier digAlgorithm, in SignerInfo()
162 AlgorithmIdentifier digEncryptionAlgorithm, in SignerInfo()
193 digAlgorithm = AlgorithmIdentifier.getInstance(e.nextElement()); in SignerInfo()
201 digEncryptionAlgorithm = AlgorithmIdentifier.getInstance(e.nextElement()); in SignerInfo()
206 digEncryptionAlgorithm = AlgorithmIdentifier.getInstance(obj); in SignerInfo()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/
DBcDefaultDigestProvider.java14 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
45 public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier) in createTable()
52 public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier) in createTable()
59 public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier) in createTable()
66 public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier) in createTable()
73 public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier) in createTable()
80 public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier) in createTable()
140 public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier) in get()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509Util.java38 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
126AlgorithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTA…
129AlgorithmIdentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull…
132AlgorithmIdentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull…
135AlgorithmIdentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull…
138AlgorithmIdentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull…
142 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams()
146 new AlgorithmIdentifier(PKCSObjectIdentifiers.id_mgf1, hashAlgId), in creatPSSParams()
164 static AlgorithmIdentifier getSigAlgID( in getSigAlgID()
170 return new AlgorithmIdentifier(sigOid); in getSigAlgID()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java45 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
197AlgorithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTA…
200AlgorithmIdentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull…
203AlgorithmIdentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull…
206AlgorithmIdentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull…
209AlgorithmIdentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull…
213 private static RSASSAPSSparams creatPSSParams(AlgorithmIdentifier hashAlgId, int saltSize) in creatPSSParams()
217 new AlgorithmIdentifier(PKCSObjectIdentifiers.id_mgf1, hashAlgId), in creatPSSParams()
352 this.sigAlgId = new AlgorithmIdentifier(sigOID); in PKCS10CertificationRequest()
356 … this.sigAlgId = new AlgorithmIdentifier(sigOID, (ASN1Encodable)params.get(algorithmName)); in PKCS10CertificationRequest()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DPasswordRecipient.java3 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
11 …byte[] calculateDerivedKey(byte[] encodedPassword, AlgorithmIdentifier derivationAlgorithm, int ke… in calculateDerivedKey()
14 …RecipientOperator getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdenti… in getRecipientOperator()
DDefaultCMSSignatureEncryptionAlgorithmFinder.java10 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
42 public AlgorithmIdentifier findEncryptionAlgorithm(AlgorithmIdentifier signatureAlgorithm) in findEncryptionAlgorithm()
47 return new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE); in findEncryptionAlgorithm()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/
DPBKDF2KeySpec.java5 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
13 private AlgorithmIdentifier prf;
24 …KDF2KeySpec(char[] password, byte[] salt, int iterationCount, int keySize, AlgorithmIdentifier prf) in PBKDF2KeySpec()
31 public AlgorithmIdentifier getPrf() in getPrf()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/netscape/
DNetscapeCertRequest.java27 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
48 AlgorithmIdentifier sigAlg;
49 AlgorithmIdentifier keyAlg;
89 sigAlg = new AlgorithmIdentifier((ASN1Sequence)spkac in NetscapeCertRequest()
132 AlgorithmIdentifier signing_alg, in NetscapeCertRequest()
166 public AlgorithmIdentifier getSigningAlgorithm() in getSigningAlgorithm()
171 public void setSigningAlgorithm(AlgorithmIdentifier value) in setSigningAlgorithm()
176 public AlgorithmIdentifier getKeyAlgorithm() in getKeyAlgorithm()
181 public void setKeyAlgorithm(AlgorithmIdentifier value) in setKeyAlgorithm()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
DJcaContentVerifierProviderBuilder.java14 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
84 public ContentVerifier get(AlgorithmIdentifier algorithm) in build()
129 public ContentVerifier get(AlgorithmIdentifier algorithm) in build()
154 …private SignatureOutputStream createSignatureStream(AlgorithmIdentifier algorithm, PublicKey publi…
171 private Signature createRawSig(AlgorithmIdentifier algorithm, PublicKey publicKey)
193 private AlgorithmIdentifier algorithm;
197 SigVerifier(AlgorithmIdentifier algorithm, SignatureOutputStream stream)
203 public AlgorithmIdentifier getAlgorithmIdentifier()
237 …RawSigVerifier(AlgorithmIdentifier algorithm, SignatureOutputStream stream, Signature rawSignature)
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DKeyUtil.java6 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
11 …public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyDa… in getEncodedSubjectPublicKeyInfo()
23 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData) in getEncodedSubjectPublicKeyInfo()
47 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) in getEncodedPrivateKeyInfo()

12345