Home
last modified time | relevance | path

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

123

/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/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/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/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.java131 BigInteger serialNumber) in AuthorityKeyIdentifier() argument
144 this.certserno = new ASN1Integer(serialNumber); 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()
DTBSCertificateStructure.java41 ASN1Integer serialNumber; field in TBSCertificateStructure
93 serialNumber = ASN1Integer.getInstance(seq.getObjectAt(seqStart + 1)); in TBSCertificateStructure()
143 return serialNumber; in getSerialNumber()
DTBSCertificate.java39 ASN1Integer serialNumber; field in TBSCertificate
107 serialNumber = ASN1Integer.getInstance(seq.getObjectAt(seqStart + 1)); in TBSCertificate()
171 return serialNumber; in getSerialNumber()
/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 = new ASN1Integer(serialNumber); 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.java36 ASN1Integer serialNumber; field in V3TBSCertificateGenerator
57 ASN1Integer serialNumber) in setSerialNumber() argument
59 this.serialNumber = serialNumber; in setSerialNumber()
181 if ((serialNumber == null) || (signature == null) in generateTBSCertificate()
191 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()
DTBSCertificateStructure.java43 ASN1Integer serialNumber; field in TBSCertificateStructure
95 serialNumber = ASN1Integer.getInstance(seq.getObjectAt(seqStart + 1)); in TBSCertificateStructure()
145 return serialNumber; in getSerialNumber()
DTBSCertificate.java42 ASN1Integer serialNumber; field in TBSCertificate
110 serialNumber = ASN1Integer.getInstance(seq.getObjectAt(seqStart + 1)); in TBSCertificate()
174 return serialNumber; in getSerialNumber()
/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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowUserManager.java99 long serialNumber = nextUserSerial++; in addUserProfile() local
100 userProfiles.put(userHandle, serialNumber); in addUserProfile()
101 return serialNumber; in addUserProfile()
199 public void setSerialNumberForUser(UserHandle userHandle, long serialNumber) { in setSerialNumberForUser() argument
200 userProfiles.put(userHandle, serialNumber); in setSerialNumberForUser()
207 protected UserHandle getUserForSerialNumber(long serialNumber) { in getUserForSerialNumber() argument
208 return userProfiles.inverse().get(serialNumber); in getUserForSerialNumber()
/external/boringssl/src/crypto/x509/
Dx509cset.c186 return x->serialNumber; in X509_REVOKED_get0_serialNumber()
195 in = x->serialNumber; in X509_REVOKED_set_serialNumber()
199 M_ASN1_INTEGER_free(x->serialNumber); in X509_REVOKED_set_serialNumber()
200 x->serialNumber = in; in X509_REVOKED_set_serialNumber()
Dx509_cmp.c80 i = M_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()
280 cinf.serialNumber = serial; in X509_find_by_issuer_and_serial()
Dx509_set.c85 in = x->cert_info->serialNumber; in X509_set_serialNumber()
89 M_ASN1_INTEGER_free(x->cert_info->serialNumber); in X509_set_serialNumber()
90 x->cert_info->serialNumber = in; in X509_set_serialNumber()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCertificatePinnerTest.java47 .serialNumber("100")
53 .serialNumber("200")
59 .serialNumber("300")
93 .serialNumber("101") in sameKeypairSamePin()
99 .serialNumber("201") in sameKeypairSamePin()

123