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.SecretKeyA 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.StringgetAlgorithm()byte[]getEncoded()java.lang.StringgetFormat()
-
-
-
Method Detail
-
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithmin interfacejava.security.Key
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfacejava.security.Key
-
-