public interface SymmetricKey
Modifier and Type | Interface and Description |
---|---|
static class |
SymmetricKey.NotExtractableException |
static class |
SymmetricKey.Type |
static class |
SymmetricKey.Usage
In PKCS #11, each key can be marked with the operations it will
be used to perform.
|
Modifier and Type | Field and Description |
---|---|
static SymmetricKey.Type |
AES |
static SymmetricKey.Type |
DES |
static SymmetricKey.Type |
DES3 |
static SymmetricKey.Type |
RC2 |
static SymmetricKey.Type |
RC4 |
static SymmetricKey.Type |
SHA1_HMAC |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
byte[] |
getKeyData() |
int |
getLength() |
java.lang.String |
getNickName() |
CryptoToken |
getOwningToken() |
int |
getStrength() |
SymmetricKey.Type |
getType() |
void |
setNickName(java.lang.String nickName) |
static final SymmetricKey.Type DES
static final SymmetricKey.Type DES3
static final SymmetricKey.Type RC4
static final SymmetricKey.Type RC2
static final SymmetricKey.Type SHA1_HMAC
static final SymmetricKey.Type AES
SymmetricKey.Type getType()
CryptoToken getOwningToken()
int getStrength()
int getLength()
byte[] getKeyData() throws SymmetricKey.NotExtractableException
java.lang.String getAlgorithm()
byte[] getEncoded()
java.lang.String getFormat()
java.lang.String getNickName()
void setNickName(java.lang.String nickName)