Package org.mozilla.jss.crypto
Class SecretKeyFacade
- java.lang.Object
-
- org.mozilla.jss.crypto.SecretKeyFacade
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
,javax.crypto.SecretKey
,javax.security.auth.Destroyable
public class SecretKeyFacade extends java.lang.Object implements javax.crypto.SecretKey
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description SymmetricKey
key
-
Constructor Summary
Constructors Constructor Description SecretKeyFacade(SymmetricKey symk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlgorithm()
byte[]
getEncoded()
java.lang.String
getFormat()
-
-
-
Field Detail
-
key
public SymmetricKey key
-
-
Constructor Detail
-
SecretKeyFacade
public SecretKeyFacade(SymmetricKey symk)
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interfacejava.security.Key
-
-