org.bouncycastle.asn1.cryptopro
Class GostR3410TransportParameters
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.cryptopro.GostR3410TransportParameters
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class GostR3410TransportParameters
- extends ASN1Object
GostR3410-TransportParameters ::= SEQUENCE {
encryptionParamSet OBJECT IDENTIFIER,
ephemeralPublicKey [0] IMPLICIT SubjectPublicKeyInfo OPTIONAL,
ukm OCTET STRING
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
GostR3410TransportParameters
public GostR3410TransportParameters(ASN1ObjectIdentifier encryptionParamSet,
SubjectPublicKeyInfo ephemeralPublicKey,
byte[] ukm)
getInstance
public static GostR3410TransportParameters getInstance(java.lang.Object obj)
getInstance
public static GostR3410TransportParameters getInstance(ASN1TaggedObject obj,
boolean explicit)
getEncryptionParamSet
public ASN1ObjectIdentifier getEncryptionParamSet()
getEphemeralPublicKey
public SubjectPublicKeyInfo getEphemeralPublicKey()
getUkm
public byte[] getUkm()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- Description copied from class:
ASN1Object
- Method providing a primitive representation of this object suitable for encoding.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.