Home
last modified time | relevance | path

Searched refs:serialNumber (Results 1 – 25 of 53) 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/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/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/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/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()
/external/boringssl/src/crypto/x509/
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()
Dx509cset.c161 in = x->serialNumber; in X509_REVOKED_set_serialNumber()
165 M_ASN1_INTEGER_free(x->serialNumber); in X509_REVOKED_set_serialNumber()
166 x->serialNumber = in; in X509_REVOKED_set_serialNumber()
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()
Dx_crl.c92 ASN1_SIMPLE(X509_REVOKED,serialNumber, ASN1_INTEGER),
374 return (ASN1_STRING_cmp((ASN1_STRING *)(*a)->serialNumber,
375 (ASN1_STRING *)(*b)->serialNumber));
457 rtmp.serialNumber = serial; in def_crl_lookup()
480 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.java69 BigInteger serialNumber) in setSerialNumber() argument
71 if (serialNumber.compareTo(BigInteger.ZERO) <= 0) in setSerialNumber()
76 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()

123