Package org.bouncycastle.jcajce.spec
Class RepeatedSecretKeySpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.RepeatedSecretKeySpec
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Key
,javax.crypto.SecretKey
,javax.security.auth.Destroyable
- Direct Known Subclasses:
RepeatedSecretKeySpec
public class RepeatedSecretKeySpec extends java.lang.Object implements javax.crypto.SecretKey
A simple object to indicate that a symmetric cipher should reuse the last key provided.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepeatedSecretKeySpec(java.lang.String algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlgorithm()
byte[]
getEncoded()
java.lang.String
getFormat()
-
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfacejava.security.Key
-
-