public class PKCS8ShroudedKeyBag extends EncryptedPrivateKeyInfo
encryptedData, encryptionAlgorithm
BIT_STRING, BMPString, BOOLEAN, DATE, DATE_TIME, DURATION, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OID_IRI, OpenType, PrintableString, REAL, RELATIVE_OID_IRI, RelativeOID, SEQUENCE, SET, T61String, TeletexString, TIME, TIME_OF_DAY, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString, z
Constructor and Description |
---|
PKCS8ShroudedKeyBag() |
PKCS8ShroudedKeyBag(AlgorithmIdentifier encryptionAlgorithm_,
com.objsys.asn1j.runtime.Asn1OctetString encryptedData_)
This constructor sets all elements to references to the
given objects
|
PKCS8ShroudedKeyBag(AlgorithmIdentifier encryptionAlgorithm_,
byte[] encryptedData_)
This constructor allows primitive data to be passed for all
primitive elements.
|
Modifier and Type | Method and Description |
---|---|
void |
decode(com.objsys.asn1j.runtime.Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength) |
int |
encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer,
boolean explicit) |
init, print
public PKCS8ShroudedKeyBag()
public PKCS8ShroudedKeyBag(AlgorithmIdentifier encryptionAlgorithm_, com.objsys.asn1j.runtime.Asn1OctetString encryptedData_)
public PKCS8ShroudedKeyBag(AlgorithmIdentifier encryptionAlgorithm_, byte[] encryptedData_)
public void decode(com.objsys.asn1j.runtime.Asn1BerDecodeBuffer buffer, boolean explicit, int implicitLength) throws com.objsys.asn1j.runtime.Asn1Exception, java.io.IOException
decode
in interface com.objsys.asn1j.runtime.Asn1TypeIF
decode
in class EncryptedPrivateKeyInfo
com.objsys.asn1j.runtime.Asn1Exception
java.io.IOException
public int encode(com.objsys.asn1j.runtime.Asn1BerEncodeBuffer buffer, boolean explicit) throws com.objsys.asn1j.runtime.Asn1Exception
encode
in interface com.objsys.asn1j.runtime.Asn1TypeIF
encode
in class EncryptedPrivateKeyInfo
com.objsys.asn1j.runtime.Asn1Exception
Copyright © 2025. All rights reserved.