Home
last modified time | relevance | path

Searched refs:tbsGenerator (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyPairGeneratorSpi.java673 V3TBSCertificateGenerator tbsGenerator = new V3TBSCertificateGenerator(); in generateSelfSignedCertificateWithFakeSignature() local
696 tbsGenerator.setSubjectPublicKeyInfo( in generateSelfSignedCertificateWithFakeSignature()
699 tbsGenerator.setSerialNumber(new ASN1Integer(mSpec.getCertificateSerialNumber())); in generateSelfSignedCertificateWithFakeSignature()
702 tbsGenerator.setSubject(subject); in generateSelfSignedCertificateWithFakeSignature()
703 tbsGenerator.setIssuer(subject); in generateSelfSignedCertificateWithFakeSignature()
704 tbsGenerator.setStartDate(new Time(mSpec.getCertificateNotBefore())); in generateSelfSignedCertificateWithFakeSignature()
705 tbsGenerator.setEndDate(new Time(mSpec.getCertificateNotAfter())); in generateSelfSignedCertificateWithFakeSignature()
706 tbsGenerator.setSignature(sigAlgId); in generateSelfSignedCertificateWithFakeSignature()
707 TBSCertificate tbsCertificate = tbsGenerator.generateTBSCertificate(); in generateSelfSignedCertificateWithFakeSignature()