HomeSort by relevance Sort by last modified time
    Searched refs:RSAPrivateKey (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/libchrome/crypto/
rsa_private_key_openssl.cc 57 RSAPrivateKey* RSAPrivateKey::Create(uint16_t num_bits) {
68 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey);
77 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo(
93 scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey);
102 RSAPrivateKey* RSAPrivateKey::CreateFromKey(EVP_PKEY* key)
    [all...]
rsa_private_key_nss.cc 44 RSAPrivateKey::~RSAPrivateKey() {
52 RSAPrivateKey* RSAPrivateKey::Create(uint16_t num_bits) {
68 RSAPrivateKey* rsa_key = new RSAPrivateKey;
75 RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo(
88 return RSAPrivateKey::CreateFromKey(key.get());
92 RSAPrivateKey* RSAPrivateKey::CreateFromKey(SECKEYPrivateKey* key)
    [all...]
signature_creator.h 26 class RSAPrivateKey;
43 static SignatureCreator* Create(RSAPrivateKey* key, HashAlgorithm hash_alg);
48 static bool Sign(RSAPrivateKey* key,
rsa_private_key.h 31 // Used internally by RSAPrivateKey for serializing and deserializing
169 class CRYPTO_EXPORT RSAPrivateKey {
171 ~RSAPrivateKey();
174 static RSAPrivateKey* Create(uint16_t num_bits);
179 static RSAPrivateKey* CreateFromPrivateKeyInfo(
186 static RSAPrivateKey* CreateFromKey(EVP_PKEY* key);
190 static RSAPrivateKey* CreateFromKey(SECKEYPrivateKey* key);
201 RSAPrivateKey* Copy() const;
211 RSAPrivateKey();
220 DISALLOW_COPY_AND_ASSIGN(RSAPrivateKey);
    [all...]
signature_creator_unittest.cc 32 scoped_ptr<crypto::RSAPrivateKey> key_original(
33 crypto::RSAPrivateKey::Create(1024));
38 scoped_ptr<crypto::RSAPrivateKey> key(
39 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
70 scoped_ptr<crypto::RSAPrivateKey> key_original(
71 crypto::RSAPrivateKey::Create(1024));
76 scoped_ptr<crypto::RSAPrivateKey> key(
77 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info));
105 scoped_ptr<crypto::RSAPrivateKey> key_original(
106 crypto::RSAPrivateKey::Create(1024))
    [all...]
signature_creator_openssl.cc 45 SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key,
62 bool SignatureCreator::Sign(RSAPrivateKey* key,
rsa_private_key_unittest.cc 74 scoped_ptr<crypto::RSAPrivateKey> keypair1(
75 crypto::RSAPrivateKey::Create(1024));
76 scoped_ptr<crypto::RSAPrivateKey> keypair2(
77 crypto::RSAPrivateKey::Create(2048));
91 scoped_ptr<crypto::RSAPrivateKey> keypair3(
92 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1));
93 scoped_ptr<crypto::RSAPrivateKey> keypair4(
94 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2));
116 scoped_ptr<crypto::RSAPrivateKey> key(
117 crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input))
    [all...]
signature_creator_nss.cc 51 SignatureCreator* SignatureCreator::Create(RSAPrivateKey* key,
70 bool SignatureCreator::Sign(RSAPrivateKey* key,
  /libcore/luni/src/test/java/tests/security/interfaces/
RSAPrivateKeyTest.java 22 import java.security.interfaces.RSAPrivateKey;
28 * java.security.interfaces.RSAPrivateKey
35 RSAPrivateKey key = (RSAPrivateKey) gen.generatePrivate(new RSAPrivateKeySpec(
  /libcore/ojluni/src/main/java/java/security/interfaces/
RSAPrivateKey.java 39 public interface RSAPrivateKey extends java.security.PrivateKey, RSAKey
RSAMultiPrimePrivateCrtKey.java 41 * @see RSAPrivateKey
47 public interface RSAMultiPrimePrivateCrtKey extends RSAPrivateKey {
RSAPrivateCrtKey.java 37 * @see RSAPrivateKey
40 public interface RSAPrivateCrtKey extends RSAPrivateKey {
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/interfaces/
RSAPrivateKeyTest.java 26 import java.security.interfaces.RSAPrivateKey;
31 * Tests for <code>RSAPrivateKey</code> class field
50 key.getSerVerUID(), //RSAPrivateKey.serialVersionUID,
54 public class checkRSAPrivateKey implements RSAPrivateKey {
56 return "RSAPrivateKey";
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
BCRSAPrivateKey.java 7 import java.security.interfaces.RSAPrivateKey;
22 implements RSAPrivateKey, PKCS12BagAttributeCarrier
52 RSAPrivateKey key)
58 BCRSAPrivateKey(org.bouncycastle.asn1.pkcs.RSAPrivateKey key)
86 return KeyUtil.getEncodedPrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), ZERO, getPrivateExponent(), ZERO, ZERO, ZERO, ZERO, ZERO));
91 if (!(o instanceof RSAPrivateKey))
101 RSAPrivateKey key = (RSAPrivateKey)o;
KeyFactorySpi.java 19 import org.bouncycastle.asn1.pkcs.RSAPrivateKey;
42 else if (spec.isAssignableFrom(RSAPrivateKeySpec.class) && key instanceof java.security.interfaces.RSAPrivateKey)
44 java.security.interfaces.RSAPrivateKey k = (java.security.interfaces.RSAPrivateKey)key;
75 else if (key instanceof java.security.interfaces.RSAPrivateKey)
77 return new BCRSAPrivateKey((java.security.interfaces.RSAPrivateKey)key);
96 // in case it's just a RSAPrivateKey object... -- openSSL produces these
101 RSAPrivateKey.getInstance(((PKCS8EncodedKeySpec)keySpec).getEncoded()));
140 RSAPrivateKey rsaPrivKey = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey())
    [all...]
RSAUtil.java 4 import java.security.interfaces.RSAPrivateKey;
49 RSAPrivateKey key)
61 RSAPrivateKey k = key;
BCRSAPrivateCrtKey.java 11 import org.bouncycastle.asn1.pkcs.RSAPrivateKey;
94 this(RSAPrivateKey.getInstance(info.parsePrivateKey()));
101 RSAPrivateKey key)
131 return KeyUtil.getEncodedPrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), getPublicExponent(), getPrivateExponent(), getPrimeP(), getPrimeQ(), getPrimeExponentP(), getPrimeExponentQ(), getCrtCoefficient()));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
JCERSAPrivateKey.java 7 import java.security.interfaces.RSAPrivateKey;
22 implements RSAPrivateKey, PKCS12BagAttributeCarrier
52 RSAPrivateKey key)
80 return KeyUtil.getEncodedPrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new org.bouncycastle.asn1.pkcs.RSAPrivateKey(getModulus(), ZERO, getPrivateExponent(), ZERO, ZERO, ZERO, ZERO, ZERO));
85 if (!(o instanceof RSAPrivateKey))
95 RSAPrivateKey key = (RSAPrivateKey)o;
JCERSAPrivateCrtKey.java 11 import org.bouncycastle.asn1.pkcs.RSAPrivateKey;
94 this(org.bouncycastle.asn1.pkcs.RSAPrivateKey.getInstance(info.parsePrivateKey()));
101 RSAPrivateKey key)
131 return KeyUtil.getEncodedPrivateKeyInfo(new AlgorithmIdentifier(PKCSObjectIdentifiers.rsaEncryption, DERNull.INSTANCE), new RSAPrivateKey(getModulus(), getPublicExponent(), getPrivateExponent(), getPrimeP(), getPrimeQ(), getPrimeExponentP(), getPrimeExponentQ(), getCrtCoefficient()));
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/
RSAPrivateKey.java 14 public class RSAPrivateKey
28 public static RSAPrivateKey getInstance(
35 public static RSAPrivateKey getInstance(
38 if (obj instanceof RSAPrivateKey)
40 return (RSAPrivateKey)obj;
45 return new RSAPrivateKey(ASN1Sequence.getInstance(obj));
51 public RSAPrivateKey(
72 private RSAPrivateKey(
147 * RSAPrivateKey ::= SEQUENCE {
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLRSAKeyFactory.java 26 import java.security.interfaces.RSAPrivateKey;
108 } else if (key instanceof RSAPrivateKey
110 RSAPrivateKey rsaKey = (RSAPrivateKey) key;
118 RSAPrivateKey privKey =
119 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded));
134 RSAPrivateKey rsaKey =
135 (RSAPrivateKey) engineGeneratePrivate(new PKCS8EncodedKeySpec(encoded));
197 } else if (key instanceof RSAPrivateKey) {
198 RSAPrivateKey rsaKey = (RSAPrivateKey) key
    [all...]
OpenSSLRSAPrivateKey.java 28 import java.security.interfaces.RSAPrivateKey;
32 public class OpenSSLRSAPrivateKey implements RSAPrivateKey, OpenSSLKeyHolder {
95 protected static OpenSSLKey wrapPlatformKey(RSAPrivateKey rsaPrivateKey)
97 OpenSSLKey wrapper = Platform.wrapRsaKey(rsaPrivateKey);
101 return new OpenSSLKey(NativeCrypto.getRSAPrivateKeyWrapper(rsaPrivateKey, rsaPrivateKey
126 static OpenSSLKey getInstance(RSAPrivateKey rsaPrivateKey) throws InvalidKeyException {
131 if (rsaPrivateKey.getFormat() == null)
    [all...]
OpenSSLSignatureRawRSA.java 26 import java.security.interfaces.RSAPrivateKey;
87 OpenSSLRSAPrivateKey rsaPrivateKey = (OpenSSLRSAPrivateKey) privateKey;
88 key = rsaPrivateKey.getOpenSSLKey();
90 RSAPrivateCrtKey rsaPrivateKey = (RSAPrivateCrtKey) privateKey;
91 key = OpenSSLRSAPrivateCrtKey.getInstance(rsaPrivateKey);
92 } else if (privateKey instanceof RSAPrivateKey) {
93 RSAPrivateKey rsaPrivateKey = (RSAPrivateKey) privateKey;
94 key = OpenSSLRSAPrivateKey.getInstance(rsaPrivateKey);
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/
pkcs1dump.py 24 asn1Spec = rfc2437.RSAPrivateKey()
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
rfc3447.py 23 class RSAPrivateKey(univ.Sequence):

Completed in 1215 milliseconds

1 2 3