Home
last modified time | relevance | path

Searched refs:serialNumber (Results 1 – 25 of 57) sorted by relevance

123

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DIssuerAndSerialNumber.java32 private ASN1Integer serialNumber; field in IssuerAndSerialNumber
69 this.serialNumber = (ASN1Integer)seq.getObjectAt(1); in IssuerAndSerialNumber()
76 this.serialNumber = certificate.getSerialNumber(); in IssuerAndSerialNumber()
86 this.serialNumber = certificate.getSerialNumber(); in IssuerAndSerialNumber()
91 BigInteger serialNumber) in IssuerAndSerialNumber() argument
94 this.serialNumber = new ASN1Integer(serialNumber); in IssuerAndSerialNumber()
102 BigInteger serialNumber) in IssuerAndSerialNumber() argument
105 this.serialNumber = new ASN1Integer(serialNumber); in IssuerAndSerialNumber()
113 ASN1Integer serialNumber) in IssuerAndSerialNumber() argument
116 this.serialNumber = serialNumber; in IssuerAndSerialNumber()
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
DX509CertificateHolderSelector.java22 private BigInteger serialNumber; field in X509CertificateHolderSelector
41 public X509CertificateHolderSelector(X500Name issuer, BigInteger serialNumber) in X509CertificateHolderSelector() argument
43 this(issuer, serialNumber, null); in X509CertificateHolderSelector()
54 …public X509CertificateHolderSelector(X500Name issuer, BigInteger serialNumber, byte[] subjectKeyId) in X509CertificateHolderSelector() argument
57 this.serialNumber = serialNumber; in X509CertificateHolderSelector()
68 return serialNumber; in getSerialNumber()
80 if (this.serialNumber != null) in hashCode()
82 code ^= this.serialNumber.hashCode(); in hashCode()
104 && equalsObj(this.serialNumber, id.serialNumber) in equals()
124 && iAndS.getSerialNumber().getValue().equals(this.serialNumber); in match()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
DCertID.java19 ASN1Integer serialNumber; field in CertID
25 ASN1Integer serialNumber) in CertID() argument
30 this.serialNumber = serialNumber; in CertID()
39 serialNumber = (ASN1Integer)seq.getObjectAt(3); in CertID()
81 return serialNumber; in getSerialNumber()
101 v.add(serialNumber); in toASN1Primitive()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DV1TBSCertificateGenerator.java29 ASN1Integer serialNumber; field in V1TBSCertificateGenerator
41 ASN1Integer serialNumber) in setSerialNumber() argument
43 this.serialNumber = serialNumber; in setSerialNumber()
114 if ((serialNumber == null) || (signature == null) in generateTBSCertificate()
124 seq.add(serialNumber); in generateTBSCertificate()
DAuthorityKeyIdentifier.java130 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
143 this.certserno = new ASN1Integer(serialNumber); in AuthorityKeyIdentifier()
152 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
154 this((byte[])null, name, serialNumber); in AuthorityKeyIdentifier()
173 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
177 this.certserno = (serialNumber != null) ? new ASN1Integer(serialNumber) : null; in AuthorityKeyIdentifier()
DV3TBSCertificateGenerator.java33 ASN1Integer serialNumber; field in V3TBSCertificateGenerator
50 ASN1Integer serialNumber) in setSerialNumber() argument
52 this.serialNumber = serialNumber; in setSerialNumber()
160 if ((serialNumber == null) || (signature == null) in generateTBSCertificate()
170 v.add(serialNumber); in generateTBSCertificate()
DAttributeCertificateInfo.java20 private ASN1Integer serialNumber; field in AttributeCertificateInfo
71 this.serialNumber = ASN1Integer.getInstance(seq.getObjectAt(start + 3)); in AttributeCertificateInfo()
112 return serialNumber; in getSerialNumber()
164 v.add(serialNumber); in toASN1Primitive()
DTBSCertificate.java38 ASN1Integer serialNumber; field in TBSCertificate
90 serialNumber = ASN1Integer.getInstance(seq.getObjectAt(seqStart + 1)); in TBSCertificate()
140 return serialNumber; in getSerialNumber()
DTBSCertificateStructure.java40 ASN1Integer serialNumber; field in TBSCertificateStructure
92 serialNumber = ASN1Integer.getInstance(seq.getObjectAt(seqStart + 1)); in TBSCertificateStructure()
142 return serialNumber; in getSerialNumber()
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/
DCsrUtil.java54 BigInteger serialNumber = BigInteger.valueOf(Math.abs(System.currentTimeMillis())); in generateX509V3AuthorityCertificate() local
56 … return generateX509V3AuthorityCertificate(rootName, rootPair, notBefore, notAfter, serialNumber); in generateX509V3AuthorityCertificate()
62 KeyPair rootPair, Date notBefore, Date notAfter, BigInteger serialNumber) in generateX509V3AuthorityCertificate() argument
67 certGen.setSerialNumber(serialNumber); in generateX509V3AuthorityCertificate()
82 rootPair.getPublic(), dnName, serialNumber); in generateX509V3AuthorityCertificate()
115 BigInteger serialNumber = BigInteger.valueOf(Math.abs(System.currentTimeMillis())); in issueX509V3Certificate() local
117 …urn issueX509V3Certificate(name, publicKey, rootCert, rootPair, notBefore, notAfter, serialNumber); in issueX509V3Certificate()
123 BigInteger serialNumber) throws GeneralSecurityException { in issueX509V3Certificate() argument
129 certGen.setSerialNumber(serialNumber); in issueX509V3Certificate()
DSslUtil.java108 BigInteger serialNumber = BigInteger.valueOf(Math.abs( in generateX509V1Certificate() local
113 certGen.setSerialNumber(serialNumber); in generateX509V1Certificate()
138 String name, Date notBefore, Date notAfter, BigInteger serialNumber) in generateX509V3Certificate() argument
144 certGen.setSerialNumber(serialNumber); in generateX509V3Certificate()
177 pair.getPublic(), dnName, serialNumber); in generateX509V3Certificate()
212 PublicKey publicKey, X509Name name, BigInteger serialNumber) { in createAuthorityKeyIdentifier() argument
221 return new AuthorityKeyIdentifier(info, new GeneralNames(genName), serialNumber); in createAuthorityKeyIdentifier()
256 BigInteger serialNumber = BigInteger.valueOf(Math.abs( in generateX509V3Certificate() local
260 serialNumber); in generateX509V3Certificate()
270 String name, BigInteger serialNumber) throws GeneralSecurityException { in generateX509V3Certificate() argument
[all …]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerId.java39 public SignerId(X500Name issuer, BigInteger serialNumber) in SignerId() argument
41 this(issuer, serialNumber, null); in SignerId()
52 public SignerId(X500Name issuer, BigInteger serialNumber, byte[] subjectKeyId) in SignerId() argument
54 this(new X509CertificateHolderSelector(issuer, serialNumber, subjectKeyId)); in SignerId()
/external/boringssl/src/crypto/x509/
Dx509_set.c86 in=x->cert_info->serialNumber; in X509_set_serialNumber()
92 M_ASN1_INTEGER_free(x->cert_info->serialNumber); in X509_set_serialNumber()
93 x->cert_info->serialNumber=in; in X509_set_serialNumber()
Dx509_cmp.c78 i=M_ASN1_INTEGER_cmp(ai->serialNumber,bi->serialNumber); in X509_issuer_and_serial_cmp()
97 if(!EVP_DigestUpdate(&ctx,(unsigned char *)a->cert_info->serialNumber->data, in X509_issuer_and_serial_hash()
98 (unsigned long)a->cert_info->serialNumber->length)) in X509_issuer_and_serial_hash()
152 return(a->cert_info->serialNumber); in X509_get_serialNumber()
279 cinf.serialNumber=serial; in X509_find_by_issuer_and_serial()
Dx509cset.c161 in=x->serialNumber; in X509_REVOKED_set_serialNumber()
167 M_ASN1_INTEGER_free(x->serialNumber); in X509_REVOKED_set_serialNumber()
168 x->serialNumber=in; in X509_REVOKED_set_serialNumber()
Dx_crl.c95 ASN1_SIMPLE(X509_REVOKED,serialNumber, ASN1_INTEGER),
392 (ASN1_STRING *)(*a)->serialNumber,
393 (ASN1_STRING *)(*b)->serialNumber));
476 rtmp.serialNumber = serial; in def_crl_lookup()
501 if (ASN1_INTEGER_cmp(rev->serialNumber, serial)) in def_crl_lookup()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DAttributeCertificateHolder.java61 BigInteger serialNumber) in AttributeCertificateHolder() argument
65 new ASN1Integer(serialNumber))); in AttributeCertificateHolder()
69 BigInteger serialNumber) in AttributeCertificateHolder() argument
71 this(X509Util.convertPrincipal(issuerName), serialNumber); in AttributeCertificateHolder()
DX509V1CertificateGenerator.java64 BigInteger serialNumber) in setSerialNumber() argument
66 if (serialNumber.compareTo(BigInteger.ZERO) <= 0) in setSerialNumber()
71 tbsGen.setSerialNumber(new ASN1Integer(serialNumber)); in setSerialNumber()
DX509V3CertificateGenerator.java71 BigInteger serialNumber) in setSerialNumber() argument
73 if (serialNumber.compareTo(BigInteger.ZERO) <= 0) in setSerialNumber()
78 tbsGen.setSerialNumber(new ASN1Integer(serialNumber)); in setSerialNumber()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/style/
DRFC4519Style.java46 …public static final ASN1ObjectIdentifier serialNumber = new ASN1ObjectIdentifier("2.5.4.5").intern… field in RFC4519Style
103 DefaultSymbols.put(serialNumber, "serialNumber"); in DefaultSymbols.put() argument
147 DefaultLookUp.put("serialnumber", serialNumber);
184 else if (oid.equals(c) || oid.equals(serialNumber) || oid.equals(dnQualifier) in encodeStringValue()
/external/clang/test/SemaObjC/
Ddefault-synthesize-2.m6 @property(strong) id name, rank, serialNumber; property
12 if (self.name && self.rank && self.serialNumber)
16 // @synthesize name, rank, serialNumber;
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DCertificateID.java128 … createCertID(DigestCalculator digCalc, X509CertificateHolder issuerCert, ASN1Integer serialNumber) in createCertID() argument
149 … return new CertID(digCalc.getAlgorithmIdentifier(), issuerNameHash, issuerKeyHash, serialNumber); in createCertID()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DSslContextBuilder.java118 public X509Certificate selfSignedCertificate(KeyPair keyPair, String serialNumber) in selfSignedCertificate() argument
123 generator.setSerialNumber(new BigInteger(serialNumber)); in selfSignedCertificate()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
DCertificateTest.java124 BigInteger serialNumber = BigInteger.valueOf(555L); in testCertificate() local
160 TBSCertificate tbsCertificate = new TBSCertificate(version, serialNumber, in testCertificate()
/external/webrtc/webrtc/tools/rtcbot/
Dbotmanager.js146 androidDeviceManager.getNewDevice(function (serialNumber) { argument
147 this.serialNumber_ = serialNumber;

123