org.bouncycastle.asn1.cmp
Class KemOtherInfo
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.cmp.KemOtherInfo
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class KemOtherInfo
- extends ASN1Object
Constructor Summary |
KemOtherInfo(ASN1OctetString transactionID,
ASN1OctetString senderNonce,
ASN1OctetString recipNonce,
ASN1Integer len,
AlgorithmIdentifier mac,
ASN1OctetString ct)
|
KemOtherInfo(ASN1OctetString transactionID,
ASN1OctetString senderNonce,
ASN1OctetString recipNonce,
long len,
AlgorithmIdentifier mac,
ASN1OctetString ct)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
KemOtherInfo
public KemOtherInfo(ASN1OctetString transactionID,
ASN1OctetString senderNonce,
ASN1OctetString recipNonce,
ASN1Integer len,
AlgorithmIdentifier mac,
ASN1OctetString ct)
KemOtherInfo
public KemOtherInfo(ASN1OctetString transactionID,
ASN1OctetString senderNonce,
ASN1OctetString recipNonce,
long len,
AlgorithmIdentifier mac,
ASN1OctetString ct)
getInstance
public static KemOtherInfo getInstance(java.lang.Object o)
getTransactionID
public ASN1OctetString getTransactionID()
getSenderNonce
public ASN1OctetString getSenderNonce()
getRecipNonce
public ASN1OctetString getRecipNonce()
getLen
public ASN1Integer getLen()
getMac
public AlgorithmIdentifier getMac()
getCt
public ASN1OctetString getCt()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- KemOtherInfo ::= SEQUENCE {
staticString PKIFreeText, -- MUST be "CMP-KEM"
transactionID [0] OCTET STRING OPTIONAL,
senderNonce [1] OCTET STRING OPTIONAL,
recipNonce [2] OCTET STRING OPTIONAL,
len INTEGER (1..MAX),
mac AlgorithmIdentifier{MAC-ALGORITHM, {[]}}
ct OCTET STRING
}
- Overrides:
toASN1Primitive
in class ASN1Object
- Returns:
- a basic ASN.1 object representation.