Class RsaKemParameters
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.internal.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 RsaKemParametersMethod providing a primitive representation of this object suitable for encoding.Methods inherited from class ASN1Object
encodeTo, encodeTo, 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:ASN1ObjectMethod providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-