Home
last modified time | relevance | path

Searched refs:DERNull (Results 1 – 25 of 45) sorted by relevance

12

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DPasswordRecipient.java3 import org.bouncycastle.asn1.DERNull;
15 … PRF("HMacSHA1", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWithSHA1, DERNull.INSTANCE));
16 …("HMacSHA224", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWithSHA224, DERNull.INSTANCE));
17 …("HMacSHA256", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWithSHA256, DERNull.INSTANCE));
18 …("HMacSHA384", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWithSHA384, DERNull.INSTANCE));
19 …("HMacSHA512", new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWithSHA512, DERNull.INSTANCE));
DDefaultCMSSignatureEncryptionAlgorithmFinder.java6 import org.bouncycastle.asn1.DERNull;
47 return new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE); in findEncryptionAlgorithm()
DCMSUtils.java21 import org.bouncycastle.asn1.DERNull;
83 return params1.equals(params2) || (params1.equals(DERNull.INSTANCE) && params2 == null); in isEquivalent()
86 return params2 == null || params2.equals(DERNull.INSTANCE); in isEquivalent()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DDERNull.java8 public class DERNull class
11 public static final DERNull INSTANCE = new DERNull();
19 protected DERNull() in DERNull() method in DERNull
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/
DDefaultSignatureAlgorithmIdentifierFinder.java11 import org.bouncycastle.asn1.DERNull;
158 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
161 …dentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull.INSTANCE);
164 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
167 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
170 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
218 sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in generate()
223 … encAlgId = new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE); in generate()
236 …digAlgId = new AlgorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigOID), DERNull.INSTANCE); in generate()
DDefaultDigestAlgorithmIdentifierFinder.java7 import org.bouncycastle.asn1.DERNull;
146 …gorithmIdentifier((ASN1ObjectIdentifier)digestOids.get(sigAlgId.getAlgorithm()), DERNull.INSTANCE); in find()
154 … new AlgorithmIdentifier((ASN1ObjectIdentifier)digestNameToOids.get(digAlgName), DERNull.INSTANCE); in find()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DCertStatus.java8 import org.bouncycastle.asn1.DERNull;
24 value = DERNull.INSTANCE; in CertStatus()
50 value = DERNull.INSTANCE; in CertStatus()
56 value = DERNull.INSTANCE; in CertStatus()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DPKCS10CertificationRequest.java32 import org.bouncycastle.asn1.DERNull;
197 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
200 …dentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull.INSTANCE);
203 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
206 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
209 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
360 this.sigAlgId = new AlgorithmIdentifier(sigOID, DERNull.INSTANCE); in PKCS10CertificationRequest()
565 if (params != null && !DERNull.INSTANCE.equals(params)) in setSignatureParameters()
597 if (params != null && !DERNull.INSTANCE.equals(params)) in getSignatureName()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DX509Util.java27 import org.bouncycastle.asn1.DERNull;
126 …rithmIdentifier sha1AlgId = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
129 …dentifier sha224AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha224, DERNull.INSTANCE);
132 …dentifier sha256AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha256, DERNull.INSTANCE);
135 …dentifier sha384AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha384, DERNull.INSTANCE);
138 …dentifier sha512AlgId = new AlgorithmIdentifier(NISTObjectIdentifiers.id_sha512, DERNull.INSTANCE);
181 return new AlgorithmIdentifier(sigOid, DERNull.INSTANCE); in getSigAlgID()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DAlgorithmParametersSpi.java15 import org.bouncycastle.asn1.DERNull;
59 DERNull.INSTANCE); in engineGetEncoded()
63 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
179 DERNull.INSTANCE); in engineGetEncoded()
183 … new AlgorithmIdentifier(DigestFactory.getOID(mgfSpec.getDigestAlgorithm()), DERNull.INSTANCE)); in engineGetEncoded()
DBCRSAPrivateKey.java13 import org.bouncycastle.asn1.DERNull;
86 …vateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new or… in getEncoded()
DBCRSAPublicKey.java12 import org.bouncycastle.asn1.DERNull;
23 …ORITHM_IDENTIFIER = new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/spec/
DPBKDF2KeySpec.java5 import org.bouncycastle.asn1.DERNull;
15 …fier defaultPRF = new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWithSHA1, DERNull.INSTANCE);
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DRespID.java5 import org.bouncycastle.asn1.DERNull;
19 …rithmIdentifier HASH_SHA1 = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
DCertificateID.java10 import org.bouncycastle.asn1.DERNull;
23 …rithmIdentifier HASH_SHA1 = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
DRSAESOAEPparams.java8 import org.bouncycastle.asn1.DERNull;
22 …er DEFAULT_HASH_ALGORITHM = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
DRSASSAPSSparams.java11 import org.bouncycastle.asn1.DERNull;
25 …er DEFAULT_HASH_ALGORITHM = new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1, DERNull.INSTANCE);
DPBKDF2Params.java12 import org.bouncycastle.asn1.DERNull;
33 …id_hmacWithSHA1 = new AlgorithmIdentifier(PKCSObjectIdentifiers.id_hmacWithSHA1, DERNull.INSTANCE);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DECUtils.java10 import org.bouncycastle.asn1.DERNull;
78 params = new X962Parameters(DERNull.INSTANCE); in getDomainParametersFromName()
DAlgorithmParametersSpi.java10 import org.bouncycastle.asn1.DERNull;
151 params = new X962Parameters(DERNull.INSTANCE); in engineGetEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DX509SignatureUtil.java16 import org.bouncycastle.asn1.DERNull;
30 private static final ASN1Null derNull = DERNull.INSTANCE;
DJDKDSAPublicKey.java15 import org.bouncycastle.asn1.DERNull;
87 return parameters != null && !DERNull.INSTANCE.equals(parameters); in isNotNull()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DCertUtils.java19 import org.bouncycastle.asn1.DERNull;
224 if (id2.getParameters() != null && !id2.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
234 if (id1.getParameters() != null && !id1.getParameters().equals(DERNull.INSTANCE)) in isAlgIdEqual()
/external/bouncycastle/patches/
DREADME16 - singleton DERNull (BouncyCastle now does this but we make constructor private to be sure)
42 - using the singleton DERNull.INSTANCE
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509SignatureUtil.java18 import org.bouncycastle.asn1.DERNull;
28 private static final ASN1Null derNull = DERNull.INSTANCE;

12