Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.spec
Class RepeatedSecretKeySpec

java.lang.Object
  |
  +--org.bouncycastle.jcajce.spec.RepeatedSecretKeySpec
All Implemented Interfaces:
java.security.Key, javax.crypto.SecretKey, java.io.Serializable
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

Fields inherited from interface java.security.Key
serialVersionUID
 
Constructor Summary
RepeatedSecretKeySpec(java.lang.String algorithm)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepeatedSecretKeySpec

public RepeatedSecretKeySpec(java.lang.String algorithm)
Method Detail

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface java.security.Key

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface java.security.Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface java.security.Key

Bouncy Castle Cryptography Library 1.77.0