public class RsaKemParameters
extends org.bouncycastle.asn1.ASN1Object
RsaKemParameters ::= SEQUENCE { keyDerivationFunction KeyDerivationFunction, keyLength KeyLength } KeyDerivationFunction ::= AlgorithmIdentifier KeyLength ::= INTEGER (1..MAX)
Constructor and Description |
---|
RsaKemParameters(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyDerivationFunction,
int keyLength)
Base constructor.
|
Modifier and Type | Method and Description |
---|---|
static RsaKemParameters |
getInstance(java.lang.Object o) |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getKeyDerivationFunction() |
java.math.BigInteger |
getKeyLength() |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public RsaKemParameters(org.bouncycastle.asn1.x509.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 org.bouncycastle.asn1.x509.AlgorithmIdentifier getKeyDerivationFunction()
public java.math.BigInteger getKeyLength()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
in class org.bouncycastle.asn1.ASN1Object