Home
last modified time | relevance | path

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

12345

/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DCertificateChainCleanerTest.java33 .serialNumber("1") in normalizeSingleSelfSignedCertificate()
42 .serialNumber("1") in normalizeUnknownSelfSignedCertificate()
55 .serialNumber("1") in orderedChainOfCertificatesWithRoot()
58 .serialNumber("2") in orderedChainOfCertificatesWithRoot()
62 .serialNumber("3") in orderedChainOfCertificatesWithRoot()
73 .serialNumber("1") in orderedChainOfCertificatesWithoutRoot()
76 .serialNumber("2") in orderedChainOfCertificatesWithoutRoot()
80 .serialNumber("3") in orderedChainOfCertificatesWithoutRoot()
91 .serialNumber("1") in unorderedChainOfCertificatesWithRoot()
94 .serialNumber("2") in unorderedChainOfCertificatesWithRoot()
[all …]
DCertificatePinnerChainValidationTest.java45 .serialNumber("1") in pinRootNotPresentInChain()
52 .serialNumber("2") in pinRootNotPresentInChain()
57 .serialNumber("3") in pinRootNotPresentInChain()
100 .serialNumber("1") in pinIntermediatePresentInChain()
107 .serialNumber("2") in pinIntermediatePresentInChain()
112 .serialNumber("3") in pinIntermediatePresentInChain()
155 .serialNumber("1") in unrelatedPinnedLeafCertificateInChain()
166 .serialNumber("2") in unrelatedPinnedLeafCertificateInChain()
171 .serialNumber("3") in unrelatedPinnedLeafCertificateInChain()
192 .serialNumber("4") in unrelatedPinnedLeafCertificateInChain()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DIssuerAndSerialNumber.java34 private ASN1Integer serialNumber; field in IssuerAndSerialNumber
71 this.serialNumber = (ASN1Integer)seq.getObjectAt(1); in IssuerAndSerialNumber()
78 this.serialNumber = certificate.getSerialNumber(); in IssuerAndSerialNumber()
88 this.serialNumber = certificate.getSerialNumber(); in IssuerAndSerialNumber()
93 BigInteger serialNumber) in IssuerAndSerialNumber() argument
96 this.serialNumber = new ASN1Integer(serialNumber); in IssuerAndSerialNumber()
104 BigInteger serialNumber) in IssuerAndSerialNumber() argument
107 this.serialNumber = new ASN1Integer(serialNumber); in IssuerAndSerialNumber()
115 ASN1Integer serialNumber) in IssuerAndSerialNumber() argument
118 this.serialNumber = serialNumber; in IssuerAndSerialNumber()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/cms/
DIssuerAndSerialNumber.java34 private ASN1Integer serialNumber; field in IssuerAndSerialNumber
71 this.serialNumber = (ASN1Integer)seq.getObjectAt(1); in IssuerAndSerialNumber()
78 this.serialNumber = certificate.getSerialNumber(); in IssuerAndSerialNumber()
88 this.serialNumber = certificate.getSerialNumber(); in IssuerAndSerialNumber()
93 BigInteger serialNumber) in IssuerAndSerialNumber() argument
96 this.serialNumber = new ASN1Integer(serialNumber); in IssuerAndSerialNumber()
104 BigInteger serialNumber) in IssuerAndSerialNumber() argument
107 this.serialNumber = new ASN1Integer(serialNumber); in IssuerAndSerialNumber()
115 ASN1Integer serialNumber) in IssuerAndSerialNumber() argument
118 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().hasValue(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/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ocsp/
DCertID.java23 ASN1Integer serialNumber; field in CertID
29 ASN1Integer serialNumber) in CertID() argument
34 this.serialNumber = serialNumber; in CertID()
43 serialNumber = (ASN1Integer)seq.getObjectAt(3); in CertID()
85 return serialNumber; in getSerialNumber()
105 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.java131 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
144 this.certserno = (serialNumber != null) ? new ASN1Integer(serialNumber) : null; in AuthorityKeyIdentifier()
153 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
155 this((byte[])null, name, serialNumber); in AuthorityKeyIdentifier()
174 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
178 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()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/
DV1TBSCertificateGenerator.java31 ASN1Integer serialNumber; field in V1TBSCertificateGenerator
43 ASN1Integer serialNumber) in setSerialNumber() argument
45 this.serialNumber = serialNumber; in setSerialNumber()
116 if ((serialNumber == null) || (signature == null) in generateTBSCertificate()
126 seq.add(serialNumber); in generateTBSCertificate()
DAuthorityKeyIdentifier.java133 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
146 this.certserno = (serialNumber != null) ? new ASN1Integer(serialNumber) : null; in AuthorityKeyIdentifier()
155 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
157 this((byte[])null, name, serialNumber); in AuthorityKeyIdentifier()
176 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
180 this.certserno = (serialNumber != null) ? new ASN1Integer(serialNumber) : null; in AuthorityKeyIdentifier()
DV3TBSCertificateGenerator.java35 ASN1Integer serialNumber; field in V3TBSCertificateGenerator
54 ASN1Integer serialNumber) in setSerialNumber() argument
56 this.serialNumber = serialNumber; in setSerialNumber()
171 if ((serialNumber == null) || (signature == null) in generateTBSCertificate()
181 v.add(serialNumber); in generateTBSCertificate()
DAttributeCertificateInfo.java24 private ASN1Integer serialNumber; field in AttributeCertificateInfo
75 this.serialNumber = ASN1Integer.getInstance(seq.getObjectAt(start + 3)); in AttributeCertificateInfo()
116 return serialNumber; in getSerialNumber()
168 v.add(serialNumber); in toASN1Primitive()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x509/
DAuthorityKeyIdentifier.java133 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
146 this.certserno = (serialNumber != null) ? new ASN1Integer(serialNumber) : null; in AuthorityKeyIdentifier()
155 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
157 this((byte[])null, name, serialNumber); in AuthorityKeyIdentifier()
176 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
180 this.certserno = (serialNumber != null) ? new ASN1Integer(serialNumber) : null; in AuthorityKeyIdentifier()
DV1TBSCertificateGenerator.java31 ASN1Integer serialNumber; field in V1TBSCertificateGenerator
43 ASN1Integer serialNumber) in setSerialNumber() argument
45 this.serialNumber = serialNumber; in setSerialNumber()
116 if ((serialNumber == null) || (signature == null) in generateTBSCertificate()
126 seq.add(serialNumber); in generateTBSCertificate()
DV3TBSCertificateGenerator.java35 ASN1Integer serialNumber; field in V3TBSCertificateGenerator
52 ASN1Integer serialNumber) in setSerialNumber() argument
54 this.serialNumber = serialNumber; in setSerialNumber()
162 if ((serialNumber == null) || (signature == null) in generateTBSCertificate()
172 v.add(serialNumber); in generateTBSCertificate()
DAttributeCertificateInfo.java24 private ASN1Integer serialNumber; field in AttributeCertificateInfo
75 this.serialNumber = ASN1Integer.getInstance(seq.getObjectAt(start + 3)); in AttributeCertificateInfo()
116 return serialNumber; in getSerialNumber()
168 v.add(serialNumber); in toASN1Primitive()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/
DHeldCertificate.java54 private String serialNumber = "1"; field in HeldCertificate.Builder
59 public Builder serialNumber(String serialNumber) { in serialNumber() method in HeldCertificate.Builder
60 this.serialNumber = serialNumber; in serialNumber()
119 generator.setSerialNumber(new BigInteger(serialNumber)); in build()
/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_cmp.c80 i = ASN1_INTEGER_cmp(ai->serialNumber, bi->serialNumber); in X509_issuer_and_serial_cmp()
101 (&ctx, (unsigned char *)a->cert_info->serialNumber->data, in X509_issuer_and_serial_hash()
102 (unsigned long)a->cert_info->serialNumber->length)) in X509_issuer_and_serial_hash()
156 return (a->cert_info->serialNumber); in X509_get_serialNumber()
161 return x509->cert_info->serialNumber; in X509_get0_serialNumber()
291 cinf.serialNumber = serial; in X509_find_by_issuer_and_serial()
Dx509cset.c216 return revoked->serialNumber; in X509_REVOKED_get0_serialNumber()
226 in = revoked->serialNumber; in X509_REVOKED_set_serialNumber()
230 ASN1_INTEGER_free(revoked->serialNumber); in X509_REVOKED_set_serialNumber()
231 revoked->serialNumber = in; in X509_REVOKED_set_serialNumber()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dx509cset.c211 return x->serialNumber; in X509_REVOKED_get0_serialNumber()
220 in = x->serialNumber; in X509_REVOKED_set_serialNumber()
224 M_ASN1_INTEGER_free(x->serialNumber); in X509_REVOKED_set_serialNumber()
225 x->serialNumber = in; in X509_REVOKED_set_serialNumber()

12345