Home | History | Annotate | Download | only in security

Lines Matching refs:mSpec

58     private KeyPairGeneratorSpec mSpec;
77 if (mKeyStore == null || mSpec == null) {
82 if (((mSpec.getFlags() & KeyStore.FLAG_ENCRYPTED) != 0)
89 final String alias = mSpec.getKeystoreAlias();
93 final int keyType = KeyStore.getKeyTypeForAlgorithm(mSpec.getKeyType());
94 byte[][] args = getArgsForKeyType(keyType, mSpec.getAlgorithmParameterSpec());
98 mSpec.getKeySize(), mSpec.getFlags(), args)) {
114 final KeyFactory keyFact = KeyFactory.getInstance(mSpec.getKeyType());
124 certGen.setSerialNumber(mSpec.getSerialNumber());
125 certGen.setSubjectDN(mSpec.getSubjectDN());
126 certGen.setIssuerDN(mSpec.getSubjectDN());
127 certGen.setNotBefore(mSpec.getStartDate());
128 certGen.setNotAfter(mSpec.getEndDate());
129 certGen.setSignatureAlgorithm(getDefaultSignatureAlgorithmForKeyType(mSpec.getKeyType()));
148 mSpec.getFlags())) {
205 mSpec = spec;