/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
D | RSAESOAEPparams.java | 13 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 …]
|
D | RSASSAPSSparams.java | 15 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 …]
|
D | PBKDF2Params.java | 15 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()
|
D | PrivateKeyInfo.java | 20 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()
|
D | EncryptedPrivateKeyInfo.java | 12 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()
|
D | CertificationRequest.java | 9 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()
|
D | EncryptionScheme.java | 8 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()
|
D | KeyDerivationFunc.java | 8 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/ |
D | DefaultSignatureAlgorithmIdentifierFinder.java | 22 import org.bouncycastle.asn1.x509.AlgorithmIdentifier; 145 …AlgorithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTA… 148 …AlgorithmIdentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull… 151 …AlgorithmIdentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull… 154 …AlgorithmIdentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull… 157 …AlgorithmIdentifier 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 …]
|
D | GenericKey.java | 3 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()
|
D | DigestAlgorithmIdentifierFinder.java | 3 import org.bouncycastle.asn1.x509.AlgorithmIdentifier; 14 AlgorithmIdentifier find(AlgorithmIdentifier sigAlgId); in find() 23 AlgorithmIdentifier find(String digAlgName); in find()
|
D | DefaultDigestAlgorithmIdentifierFinder.java | 16 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/ |
D | AlgorithmIdentifier.java | 13 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 …]
|
D | SubjectPublicKeyInfo.java | 25 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/ |
D | AlgorithmParametersSpi.java | 20 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/ |
D | SignerInfo.java | 16 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/ |
D | BcDefaultDigestProvider.java | 14 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/ |
D | X509Util.java | 38 import org.bouncycastle.asn1.x509.AlgorithmIdentifier; 126 …AlgorithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTA… 129 …AlgorithmIdentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull… 132 …AlgorithmIdentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull… 135 …AlgorithmIdentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull… 138 …AlgorithmIdentifier 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/ |
D | PKCS10CertificationRequest.java | 45 import org.bouncycastle.asn1.x509.AlgorithmIdentifier; 197 …AlgorithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTA… 200 …AlgorithmIdentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull… 203 …AlgorithmIdentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull… 206 …AlgorithmIdentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull… 209 …AlgorithmIdentifier 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/ |
D | PasswordRecipient.java | 3 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()
|
D | DefaultCMSSignatureEncryptionAlgorithmFinder.java | 10 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/ |
D | PBKDF2KeySpec.java | 5 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/ |
D | NetscapeCertRequest.java | 27 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/ |
D | JcaContentVerifierProviderBuilder.java | 14 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/ |
D | KeyUtil.java | 6 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()
|