public class RsaKemParameters extends ASN1Object
RsaKemParameters ::= SEQUENCE { keyDerivationFunction KeyDerivationFunction, keyLength KeyLength } KeyDerivationFunction ::= AlgorithmIdentifier KeyLength ::= INTEGER (1..MAX)
Constructor and Description |
---|
RsaKemParameters(AlgorithmIdentifier keyDerivationFunction,
int keyLength)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
static RsaKemParameters |
getInstance(java.lang.Object o) |
AlgorithmIdentifier |
getKeyDerivationFunction() |
java.math.BigInteger |
getKeyLength() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public RsaKemParameters(AlgorithmIdentifier keyDerivationFunction, int keyLength)
keyDerivationFunction
- algorithm ID describing the key derivation function.keyLength
- length of key to be derived (in bytes).public static RsaKemParameters getInstance(java.lang.Object o)
public AlgorithmIdentifier getKeyDerivationFunction()
public java.math.BigInteger getKeyLength()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object