|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.jsafe.JSAFE_KeyAttributes
A JSAFE_KeyAttributes object encapsulates hardware
token-related key attributes. It is ignored by the pure Java key classes.
Hardware-specific native subclasses make use of this information.
| Field Summary | |
static int |
CF_CRL_SIGN
Indicates the key is used to verify the CA's signature on a CRL. |
static int |
CF_DATA_ENCIPHERMENT
Indicates the key is used to encrypt data other than
|
static int |
CF_DECIPHER_ONLY
Indicates the key is used to decipher data, and
that no other bit (except |
static int |
CF_DIGITAL_SIGNATURE
Indicates the key is used to verify digital
signatures other than |
static int |
CF_ENCIPHER_ONLY
Indicates the key is used to encipher data, and that no
other bit (except |
static int |
CF_KEY_AGREEMENT
Indicates the key is used in key agreement. |
static int |
CF_KEY_CERT_SIGN
Indicates the key is used to verify the CA's signature on a certificate. |
static int |
CF_KEY_ENCIPHERMENT
Indicates the key is used to encrypt keys; for example, for key transport. |
static int |
CF_NON_REPUDIATION
Indicates the key is used to verify digital signatures, as protection against falsely denying some action. |
long |
end
|
int |
keyUsage
|
long |
start
|
static int |
TF_PRIVATE
Indicates, if set, that Crypto-J requests the generator to prevent the key data from leaving the device. |
static int |
TF_RESIDE_ON_TOKEN
Indicates, if set, the key should not leave the token; if not set, Crypto-J requests the generator to build the key, return all information, and not keep a copy. |
int |
tokenFlag
|
| Constructor Summary | |
JSAFE_KeyAttributes(int tokenFlag,
int keyUsage,
long start,
long end)
Builds a |
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int TF_RESIDE_ON_TOKEN
public static final int TF_PRIVATE
public static final int CF_DIGITAL_SIGNATURE
NON_REPUDIATION,
KEY_CERT_SIGN, or CRL_SIGN.
public static final int CF_NON_REPUDIATION
public static final int CF_KEY_ENCIPHERMENT
public static final int CF_DATA_ENCIPHERMENT
CF_KEY_ENCIPHERMENT.
public static final int CF_KEY_AGREEMENT
public static final int CF_KEY_CERT_SIGN
public static final int CF_CRL_SIGN
public static final int CF_ENCIPHER_ONLY
CF_KEY_AGREEMENT) is set.
public static final int CF_DECIPHER_ONLY
CF_KEY_AGREEMENT) is set.
public int tokenFlag
public int keyUsage
public long start
public long end
| Constructor Detail |
public JSAFE_KeyAttributes(int tokenFlag,
int keyUsage,
long start,
long end)
JSAFEKeyAttributes object according to the specified
token and key usage flags, and start and end times. The start and end times
are in milliseconds since 1970. The JSAFE_KeyAttributes
class encapsulates hardware token-related key attributes. It is ignored by the
pure Java key classes. Hardware-specific native subclasses make use of this
information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||