OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:KeySpec
(Results
1 - 25
of
103
) sorted by null
1
2
3
4
5
/libcore/ojluni/src/main/java/java/security/spec/
KeySpec.java
62
public interface
KeySpec
{ }
EncodedKeySpec.java
36
* @see
KeySpec
43
public abstract class EncodedKeySpec implements
KeySpec
{
RSAPrivateKeySpec.java
38
* @see
KeySpec
44
public class RSAPrivateKeySpec implements
KeySpec
{
RSAPublicKeySpec.java
38
* @see
KeySpec
44
public class RSAPublicKeySpec implements
KeySpec
{
ECPrivateKeySpec.java
33
* @see
KeySpec
40
public class ECPrivateKeySpec implements
KeySpec
{
ECPublicKeySpec.java
31
* @see
KeySpec
39
public class ECPublicKeySpec implements
KeySpec
{
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
ECKeySpec.java
3
import java.security.spec.
KeySpec
;
9
implements
KeySpec
/libcore/ojluni/src/main/java/java/security/
KeyFactorySpi.java
28
import java.security.spec.
KeySpec
;
63
* @see java.security.spec.
KeySpec
76
* @param
keySpec
the specification (key material) of the public key.
83
protected abstract PublicKey engineGeneratePublic(
KeySpec
keySpec
)
90
* @param
keySpec
the specification (key material) of the private key.
97
protected abstract PrivateKey engineGeneratePrivate(
KeySpec
keySpec
)
103
* <code>
keySpec
</code> identifies the specification class in which
111
* @param
keySpec
the specification class in whic
[
all
...]
/libcore/ojluni/src/main/java/javax/crypto/
SecretKeyFactorySpi.java
60
* @param
keySpec
the specification (key material) of the secret key
67
protected abstract SecretKey engineGenerateSecret(
KeySpec
keySpec
)
76
* @param
keySpec
the requested format in which the key material shall be
84
* <code>key</code> and <code>
keySpec
</code> do not match, or
86
* whereas <code>
keySpec
</code> is the specification of a software-based
91
protected abstract
KeySpec
engineGetKeySpec(SecretKey key, Class
keySpec
)
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactorySpiTest.java
22
import java.security.spec.
KeySpec
;
43
KeySpec
ks = new MyKeySpec();
44
KeySpec
kss = new MyKeySpec();
56
protected PrivateKey engineGeneratePrivate(
KeySpec
keySpec
){
59
protected PublicKey engineGeneratePublic(
KeySpec
keySpec
){
62
protected
KeySpec
engineGetKeySpec(Key key, Class
keySpec
){
70
class MyKeySpec implements
KeySpec
{}
[
all
...]
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
MySecretKeyFactorySpi.java
26
import java.security.spec.
KeySpec
;
38
protected SecretKey engineGenerateSecret(
KeySpec
keySpec
)
45
protected
KeySpec
engineGetKeySpec(SecretKey key, Class
keySpec
)
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
SecretKeyFactoryThread.java
18
import java.security.spec.
KeySpec
;
34
KeySpec
ks = (
KeySpec
) ((algName == "DES") ? new DESKeySpec(b) :
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MySecretKeyFactorySpi.java
27
import java.security.spec.
KeySpec
;
40
protected SecretKey engineGenerateSecret(
KeySpec
keySpec
)
47
protected
KeySpec
engineGetKeySpec(SecretKey key, Class
keySpec
)
/libcore/luni/src/test/java/tests/security/spec/
RSAPublicKeySpecTest.java
28
import java.security.spec.
KeySpec
;
43
KeySpec
ks =
56
KeySpec
ks =
DSAPrivateKeySpecTest.java
29
import java.security.spec.
KeySpec
;
41
KeySpec
ks = new DSAPrivateKeySpec(
DSAPublicKeySpecTest.java
29
import java.security.spec.
KeySpec
;
41
KeySpec
ks = new DSAPublicKeySpec(
RSAPrivateKeySpecTest.java
28
import java.security.spec.
KeySpec
;
43
KeySpec
ks = new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L),
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
SecretKeyFactorySpiTest.java
26
import java.security.spec.
KeySpec
;
58
KeySpec
kspec = null;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
BaseKeyFactorySpi.java
7
import java.security.spec.
KeySpec
;
20
KeySpec
keySpec
)
23
if (
keySpec
instanceof PKCS8EncodedKeySpec)
27
return generatePrivate(PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)
keySpec
).getEncoded()));
41
KeySpec
keySpec
)
44
if (
keySpec
instanceof X509EncodedKeySpec)
48
return generatePublic(SubjectPublicKeyInfo.getInstance(((X509EncodedKeySpec)
keySpec
).getEncoded()));
61
protected
KeySpec
engineGetKeySpec
[
all
...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseSecretKeyFactory.java
6
import java.security.spec.
KeySpec
;
30
KeySpec
keySpec
)
33
if (
keySpec
instanceof SecretKeySpec)
35
return (SecretKey)
keySpec
;
38
throw new InvalidKeySpecException("Invalid
KeySpec
");
41
protected
KeySpec
engineGetKeySpec(
43
Class
keySpec
)
46
if (
keySpec
== null)
48
throw new InvalidKeySpecException("
keySpec
parameter is null")
[
all
...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyFactorySpiTest.java
27
import java.security.spec.
KeySpec
;
41
protected SecretKey engineGenerateSecret(
KeySpec
keySpec
) throws InvalidKeySpecException {
42
return super.engineGenerateSecret(
keySpec
);
46
protected
KeySpec
engineGetKeySpec(SecretKey key, Class
keySpec
)
48
return super.engineGetKeySpec(key,
keySpec
);
67
KeySpec
kspec = null;
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
RSAPrivateKeySpecTest.java
25
import java.security.spec.
KeySpec
;
50
KeySpec
ks = new RSAPrivateKeySpec(BigInteger.valueOf(1234567890L),
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
KeyFactory.java
9
import java.security.spec.
KeySpec
;
22
KeySpec
keySpec
)
25
if (
keySpec
instanceof PKCS8EncodedKeySpec)
29
PrivateKeyInfo info = PrivateKeyInfo.getInstance(((PKCS8EncodedKeySpec)
keySpec
).getEncoded());
45
throw new InvalidKeySpecException("Unknown
KeySpec
type: " +
keySpec
.getClass().getName());
49
KeySpec
keySpec
)
52
if (
keySpec
instanceof X509EncodedKeySpec
[
all
...]
/libcore/ojluni/src/main/java/javax/crypto/spec/
DHPrivateKeySpec.java
43
public class DHPrivateKeySpec implements java.security.spec.
KeySpec
{
DHPublicKeySpec.java
43
public class DHPublicKeySpec implements java.security.spec.
KeySpec
{
Completed in 1086 milliseconds
1
2
3
4
5