ASN1Encodable, Encodablepublic class RsaKemParameters extends ASN1Object
RsaKemParameters ::= SEQUENCE {
keyDerivationFunction KeyDerivationFunction,
keyLength KeyLength
}
KeyDerivationFunction ::= AlgorithmIdentifier
KeyLength ::= INTEGER (1..MAX)
| Constructor | Description |
|---|---|
RsaKemParameters(AlgorithmIdentifier keyDerivationFunction,
int keyLength) |
Base constructor.
|
| Modifier and Type | Method | 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, toASN1Objectpublic 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()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object