public class PKCS11KeyPairGenerator
extends java.security.KeyPairGenerator
Modifier and Type | Field and Description |
---|---|
private boolean |
isKeyExchange |
private java.lang.String |
keyLabel |
private int |
keySize |
private char[] |
pass |
private long |
session |
Modifier | Constructor and Description |
---|---|
|
PKCS11KeyPairGenerator() |
protected |
PKCS11KeyPairGenerator(java.lang.String algorithm)
Creates a KeyPairGenerator object for the specified algorithm.
|
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
java.security.KeyPair |
generateKeyPair() |
void |
initialize(java.security.spec.AlgorithmParameterSpec params) |
private char[] pass
private java.lang.String keyLabel
private int keySize
private boolean isKeyExchange
private long session
protected PKCS11KeyPairGenerator(java.lang.String algorithm)
algorithm
- the standard string name of the algorithm.
See the KeyPairGenerator section in the
Java Cryptography Architecture Standard Algorithm Name Documentation
for information about standard algorithm names.public PKCS11KeyPairGenerator()
public void initialize(java.security.spec.AlgorithmParameterSpec params) throws java.security.InvalidAlgorithmParameterException
initialize
in class java.security.KeyPairGenerator
java.security.InvalidAlgorithmParameterException
public java.security.KeyPair generateKeyPair()
generateKeyPair
in class java.security.KeyPairGenerator
protected void finalize()
finalize
in class java.lang.Object
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.