Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
DKeyFactorySpi.java91 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
94 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
98 return new BCDHPrivateKey(keyInfo); in generatePrivate()
102 return new BCDHPrivateKey(keyInfo); in generatePrivate()
110 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
113 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
117 return new BCDHPublicKey(keyInfo); in generatePublic()
121 return new BCDHPublicKey(keyInfo); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/
DKeyFactorySpi.java64 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
67 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
71 return new BCDSAPrivateKey(keyInfo); in generatePrivate()
79 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
82 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
86 return new BCDSAPublicKey(keyInfo); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyFactorySpi.java133 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
136 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
140 RSAPrivateKey rsaPrivKey = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in generatePrivate()
148 return new BCRSAPrivateCrtKey(keyInfo); in generatePrivate()
157 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
160 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
164 return new BCRSAPublicKey(keyInfo); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPublicKeyFactory.java86 public static AsymmetricKeyParameter createKey(SubjectPublicKeyInfo keyInfo) throws IOException in createKey() argument
88 AlgorithmIdentifier algId = keyInfo.getAlgorithm(); in createKey()
93 RSAPublicKey pubKey = RSAPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey()
99 DHPublicKey dhPublicKey = DHPublicKey.getInstance(keyInfo.parsePublicKey()); in createKey()
132 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in createKey()
153 ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey(); in createKey()
191 ASN1OctetString key = new DEROctetString(keyInfo.getPublicKeyData().getBytes()); in createKey()
DPrivateKeyFactory.java79 public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) throws IOException in createKey() argument
81 AlgorithmIdentifier algId = keyInfo.getPrivateKeyAlgorithm(); in createKey()
85 RSAPrivateKey keyStructure = RSAPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
97 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey(); in createKey()
117 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey(); in createKey()
155 ECPrivateKey ec = ECPrivateKey.getInstance(keyInfo.parsePrivateKey()); in createKey()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyFactorySpi.java156 public PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
159 ASN1ObjectIdentifier algOid = keyInfo.getPrivateKeyAlgorithm().getAlgorithm(); in generatePrivate()
163 return new BCECPrivateKey(algorithm, keyInfo, configuration); in generatePrivate()
171 public PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
174 ASN1ObjectIdentifier algOid = keyInfo.getAlgorithm().getAlgorithm(); in generatePublic()
178 return new BCECPublicKey(algorithm, keyInfo, configuration); in generatePublic()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DAsymmetricKeyInfoConverter.java12 PrivateKey generatePrivate(PrivateKeyInfo keyInfo) in generatePrivate() argument
15 PublicKey generatePublic(SubjectPublicKeyInfo keyInfo) in generatePublic() argument
/external/bouncycastle/patches/
Dbcprov.patch1094 - ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
1103 + // ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
1111 ASN1Integer derX = (ASN1Integer)keyInfo.parsePrivateKey();
1146 - ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
1155 + // ASN1Integer derY = (ASN1Integer)keyInfo.parsePublicKey();
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...