HomeSort by relevance Sort by last modified time
    Searched refs:certGen (Results 1 - 3 of 3) sorted by null

  /frameworks/base/keystore/java/android/security/
AndroidKeyPairGenerator.java 123 final X509V3CertificateGenerator certGen = new X509V3CertificateGenerator();
124 certGen.setPublicKey(pubKey);
125 certGen.setSerialNumber(mSpec.getSerialNumber());
126 certGen.setSubjectDN(mSpec.getSubjectDN());
127 certGen.setIssuerDN(mSpec.getSubjectDN());
128 certGen.setNotBefore(mSpec.getStartDate());
129 certGen.setNotAfter(mSpec.getEndDate());
130 certGen.setSignatureAlgorithm(getDefaultSignatureAlgorithmForKeyType(mSpec.getKeyType()));
134 cert = certGen.generate(privKey);
  /libcore/luni/src/test/java/libcore/java/security/cert/
CertificateFactoryTest.java 555 X509V3CertificateGenerator certGen = new X509V3CertificateGenerator();
557 certGen.setSerialNumber(serial);
558 certGen.setIssuerDN(issuerPrincipal);
559 certGen.setNotBefore(startDate);
560 certGen.setNotAfter(expiryDate);
561 certGen.setSubjectDN(subjectPrincipal);
562 certGen.setPublicKey(keyPair.getPublic());
563 certGen.setSignatureAlgorithm("SHA1withRSA");
566 certGen.addExtension(X509Extensions.AuthorityKeyIdentifier, false,
569 certGen.addExtension(X509Extensions.AuthorityKeyIdentifier, false
    [all...]
  /frameworks/base/keystore/tests/src/android/security/
AndroidKeyStoreTest.java     [all...]

Completed in 71 milliseconds