Bouncy Castle Cryptography Library 1.48

org.bouncycastle.jce.spec
Class RepeatedSecretKeySpec

java.lang.Object
  extended by org.bouncycastle.jce.spec.RepeatedSecretKeySpec
All Implemented Interfaces:
java.io.Serializable, java.security.Key, javax.crypto.SecretKey

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

Field Summary
 
Fields inherited from interface javax.crypto.SecretKey
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.48