Package org.bouncycastle.asn1.cms
Class RsaKemParameters
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.RsaKemParameters
- All Implemented Interfaces:
ASN1Encodable
,Encodable
RFC 5990 RSA KEM parameters class.
RsaKemParameters ::= SEQUENCE { keyDerivationFunction KeyDerivationFunction, keyLength KeyLength } KeyDerivationFunction ::= AlgorithmIdentifier KeyLength ::= INTEGER (1..MAX)
-
Constructor Summary
ConstructorsConstructorDescriptionRsaKemParameters
(AlgorithmIdentifier keyDerivationFunction, int keyLength) Base constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic RsaKemParameters
Method providing a primitive representation of this object suitable for encoding.Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
RsaKemParameters
Base constructor.- Parameters:
keyDerivationFunction
- algorithm ID describing the key derivation function.keyLength
- length of key to be derived (in bytes).
-
-
Method Details
-
getInstance
-
getKeyDerivationFunction
-
getKeyLength
-
toASN1Primitive
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-