Home
last modified time | relevance | path

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

/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreKeyPairGeneratorSpi.java659 final X509V3CertificateGenerator certGen = new X509V3CertificateGenerator(); in generateSelfSignedCertificateWithValidSignature() local
660 certGen.setPublicKey(publicKey); in generateSelfSignedCertificateWithValidSignature()
661 certGen.setSerialNumber(mSpec.getCertificateSerialNumber()); in generateSelfSignedCertificateWithValidSignature()
662 certGen.setSubjectDN(mSpec.getCertificateSubject()); in generateSelfSignedCertificateWithValidSignature()
663 certGen.setIssuerDN(mSpec.getCertificateSubject()); in generateSelfSignedCertificateWithValidSignature()
664 certGen.setNotBefore(mSpec.getCertificateNotBefore()); in generateSelfSignedCertificateWithValidSignature()
665 certGen.setNotAfter(mSpec.getCertificateNotAfter()); in generateSelfSignedCertificateWithValidSignature()
666 certGen.setSignatureAlgorithm(signatureAlgorithm); in generateSelfSignedCertificateWithValidSignature()
667 return certGen.generate(privateKey); in generateSelfSignedCertificateWithValidSignature()