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(Object o) |
AlgorithmIdentifier |
getKeyDerivationFunction() |
BigInteger |
getKeyLength() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
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(Object o)
public AlgorithmIdentifier getKeyDerivationFunction()
public BigInteger getKeyLength()
public ASN1Primitive toASN1Primitive()
ASN1Object
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
Copyright © 2018 BouncyCastle.org. All rights reserved.