javacard.security
Class KeyPair
java.lang.Object
|
+--javacard.security.KeyPair
- public final synchronized class KeyPair
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALG_RSA
public static final byte ALG_RSA
- See Also:
- Constant Field Values
ALG_RSA_CRT
public static final byte ALG_RSA_CRT
- See Also:
- Constant Field Values
ALG_DSA
public static final byte ALG_DSA
- See Also:
- Constant Field Values
ALG_EC_F2M
public static final byte ALG_EC_F2M
- See Also:
- Constant Field Values
ALG_EC_FP
public static final byte ALG_EC_FP
- See Also:
- Constant Field Values
privateKey
private PrivateKey privateKey
publicKey
private PublicKey publicKey
KeyPair
public KeyPair(byte,
short)
throws CryptoException
KeyPair
public KeyPair(PublicKey,
PrivateKey)
throws CryptoException
genKeyPair
public final void genKeyPair()
throws CryptoException
CryptoException
getPublic
public PublicKey getPublic()
getPrivate
public PrivateKey getPrivate()