public class CAST128WrapParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
This class represents parameters for the CMS CAST128 Key Wrap algorithm as specified by RFC 2984:
cast5CMSkeywrapParameter ::= INTEGER -- key length in bits
Constructor and Description |
---|
CAST128WrapParameterSpec(int keyLength)
Creates a CAST128ParametersSpec from the given keyLength value.
|
Modifier and Type | Method and Description |
---|---|
int |
getKeyLength()
Return the key length.
|