Package org.bouncycastle.jcajce.spec
Class RepeatedSecretKeySpec
- java.lang.Object
-
- org.bouncycastle.jcajce.spec.RepeatedSecretKeySpec
-
- All Implemented Interfaces:
Serializable
,Key
,SecretKey
,Destroyable
- Direct Known Subclasses:
RepeatedSecretKeySpec
public class RepeatedSecretKeySpec extends Object implements SecretKey
A simple object to indicate that a symmetric cipher should reuse the last key provided.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javax.crypto.SecretKey
serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description RepeatedSecretKeySpec(String algorithm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
byte[]
getEncoded()
String
getFormat()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.security.auth.Destroyable
destroy, isDestroyed
-
-
-
-
Constructor Detail
-
RepeatedSecretKeySpec
public RepeatedSecretKeySpec(String algorithm)
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interfaceKey
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interfaceKey
-
-