org.mozilla.jss.crypto
Interface SymmetricKey
- All Known Implementing Classes:
- PK11SymKey
- public interface SymmetricKey
DES
public static final SymmetricKey.Type DES
DES3
public static final SymmetricKey.Type DES3
RC4
public static final SymmetricKey.Type RC4
RC2
public static final SymmetricKey.Type RC2
SHA1_HMAC
public static final SymmetricKey.Type SHA1_HMAC
AES
public static final SymmetricKey.Type AES
getType
public SymmetricKey.Type getType()
getOwningToken
public CryptoToken getOwningToken()
getStrength
public int getStrength()
getLength
public int getLength()
getKeyData
public byte[] getKeyData()
throws SymmetricKey.NotExtractableException
- Throws:
SymmetricKey.NotExtractableException
getAlgorithm
public java.lang.String getAlgorithm()
getEncoded
public byte[] getEncoded()
getFormat
public java.lang.String getFormat()