/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/ |
D | Certificate.java | 25 TBSCertificate tbsCert; field in Certificate 61 tbsCert = TBSCertificate.getInstance(seq.getObjectAt(0)); in Certificate() 74 return tbsCert; in getTBSCertificate() 79 return tbsCert.getVersion(); in getVersion() 84 return tbsCert.getVersionNumber(); in getVersionNumber() 89 return tbsCert.getSerialNumber(); in getSerialNumber() 94 return tbsCert.getIssuer(); in getIssuer() 99 return tbsCert.getStartDate(); in getStartDate() 104 return tbsCert.getEndDate(); in getEndDate() 109 return tbsCert.getSubject(); in getSubject() [all …]
|
D | X509CertificateStructure.java | 28 TBSCertificateStructure tbsCert; field in X509CertificateStructure 64 tbsCert = TBSCertificateStructure.getInstance(seq.getObjectAt(0)); in X509CertificateStructure() 77 return tbsCert; in getTBSCertificate() 82 return tbsCert.getVersion(); in getVersion() 87 return tbsCert.getSerialNumber(); in getSerialNumber() 92 return tbsCert.getIssuer(); in getIssuer() 97 return tbsCert.getStartDate(); in getStartDate() 102 return tbsCert.getEndDate(); in getEndDate() 107 return tbsCert.getSubject(); in getSubject() 112 return tbsCert.getSubjectPublicKeyInfo(); in getSubjectPublicKeyInfo()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x509/ |
D | Certificate.java | 28 TBSCertificate tbsCert; field in Certificate 66 tbsCert = TBSCertificate.getInstance(seq.getObjectAt(0)); in Certificate() 79 return tbsCert; in getTBSCertificate() 84 return tbsCert.getVersion(); in getVersion() 89 return tbsCert.getVersionNumber(); in getVersionNumber() 94 return tbsCert.getSerialNumber(); in getSerialNumber() 99 return tbsCert.getIssuer(); in getIssuer() 104 return tbsCert.getStartDate(); in getStartDate() 109 return tbsCert.getEndDate(); in getEndDate() 114 return tbsCert.getSubject(); in getSubject() [all …]
|
D | X509CertificateStructure.java | 30 TBSCertificateStructure tbsCert; field in X509CertificateStructure 66 tbsCert = TBSCertificateStructure.getInstance(seq.getObjectAt(0)); in X509CertificateStructure() 79 return tbsCert; in getTBSCertificate() 84 return tbsCert.getVersion(); in getVersion() 89 return tbsCert.getSerialNumber(); in getSerialNumber() 94 return tbsCert.getIssuer(); in getIssuer() 99 return tbsCert.getStartDate(); in getStartDate() 104 return tbsCert.getEndDate(); in getEndDate() 109 return tbsCert.getSubject(); in getSubject() 114 return tbsCert.getSubjectPublicKeyInfo(); in getSubjectPublicKeyInfo()
|
/external/scapy/scapy/layers/tls/ |
D | cert.py | 245 tbsCert = cert.tbsCertificate 246 sigAlg = tbsCert.signature 249 return self.verify(raw(tbsCert), sigVal, h=h, t='pkcs') 406 def signTBSCert(self, tbsCert, h="sha256"): argument 420 sigAlg = tbsCert.signature 422 sigVal = self.sign(raw(tbsCert), h=h, t='pkcs') 424 c.tbsCertificate = tbsCert 435 tbsCert = cert.tbsCertificate 436 sigAlg = tbsCert.signature 439 return self.verify(raw(tbsCert), sigVal, h=h, t='pkcs') [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
D | X509V1CertificateGenerator.java | 296 TBSCertificate tbsCert = tbsGen.generateTBSCertificate(); in generate() local 301 … signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); in generate() 308 return generateJcaObject(tbsCert, signature); in generate() 335 TBSCertificate tbsCert = tbsGen.generateTBSCertificate(); in generate() local 340 …ignature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert); in generate() 347 return generateJcaObject(tbsCert, signature); in generate() 350 private X509Certificate generateJcaObject(TBSCertificate tbsCert, byte[] signature) in generateJcaObject() argument 355 v.add(tbsCert); in generateJcaObject()
|
D | X509V3CertificateGenerator.java | 434 TBSCertificate tbsCert = generateTbsCert(); in generate() local 439 … signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); in generate() 448 return generateJcaObject(tbsCert, signature); in generate() 479 TBSCertificate tbsCert = generateTbsCert(); in generate() local 484 …ignature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert); in generate() 493 return generateJcaObject(tbsCert, signature); in generate() 511 private X509Certificate generateJcaObject(TBSCertificate tbsCert, byte[] signature) in generateJcaObject() argument 516 v.add(tbsCert); in generateJcaObject()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | PrincipalUtil.java | 32 TBSCertificateStructure tbsCert = TBSCertificateStructure.getInstance( in getIssuerX509Principal() local 35 return new X509Principal(X509Name.getInstance(tbsCert.getIssuer())); in getIssuerX509Principal() 52 TBSCertificateStructure tbsCert = TBSCertificateStructure.getInstance( in getSubjectX509Principal() local 54 return new X509Principal(X509Name.getInstance(tbsCert.getSubject())); in getSubjectX509Principal()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/ |
D | X509V1CertificateGenerator.java | 307 TBSCertificate tbsCert = tbsGen.generateTBSCertificate(); in generate() local 312 … signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); in generate() 319 return generateJcaObject(tbsCert, signature); in generate() 347 TBSCertificate tbsCert = tbsGen.generateTBSCertificate(); in generate() local 352 …ignature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert); in generate() 359 return generateJcaObject(tbsCert, signature); in generate() 362 private X509Certificate generateJcaObject(TBSCertificate tbsCert, byte[] signature) in generateJcaObject() argument 367 v.add(tbsCert); in generateJcaObject()
|
D | X509V3CertificateGenerator.java | 457 TBSCertificate tbsCert = generateTbsCert(); in generate() local 462 … signature = X509Util.calculateSignature(sigOID, signatureAlgorithm, key, random, tbsCert); in generate() 471 return generateJcaObject(tbsCert, signature); in generate() 502 TBSCertificate tbsCert = generateTbsCert(); in generate() local 507 …ignature = X509Util.calculateSignature(sigOID, signatureAlgorithm, provider, key, random, tbsCert); in generate() 516 return generateJcaObject(tbsCert, signature); in generate() 534 private X509Certificate generateJcaObject(TBSCertificate tbsCert, byte[] signature) in generateJcaObject() argument 539 v.add(tbsCert); in generateJcaObject()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/ |
D | PrincipalUtil.java | 34 TBSCertificateStructure tbsCert = TBSCertificateStructure.getInstance( in getIssuerX509Principal() local 37 return new X509Principal(X509Name.getInstance(tbsCert.getIssuer())); in getIssuerX509Principal() 54 TBSCertificateStructure tbsCert = TBSCertificateStructure.getInstance( in getSubjectX509Principal() local 56 return new X509Principal(X509Name.getInstance(tbsCert.getSubject())); in getSubjectX509Principal()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
D | X509CertificateHolder.java | 276 TBSCertificate tbsCert = x509Certificate.getTBSCertificate(); in isSignatureValid() local 278 … if (!CertUtils.isAlgIdEqual(tbsCert.getSignature(), x509Certificate.getSignatureAlgorithm())) in isSignatureValid() 287 verifier = verifierProvider.get((tbsCert.getSignature())); in isSignatureValid() 292 dOut.writeObject(tbsCert); in isSignatureValid()
|
D | CertUtils.java | 51 static X509CertificateHolder generateFullCert(ContentSigner signer, TBSCertificate tbsCert) in generateFullCert() argument 55 …w X509CertificateHolder(generateStructure(tbsCert, signer.getAlgorithmIdentifier(), generateSig(si… in generateFullCert() 100 …private static Certificate generateStructure(TBSCertificate tbsCert, AlgorithmIdentifier sigAlgId,… in generateStructure() argument 104 v.add(tbsCert); in generateStructure()
|