public class SecretBag extends ASN1Object
secretBag (PKCSObjectIdentifiers.secretBag).
SecretBag ::= SEQUENCE {
secretTypeId BAG-TYPE.&id ({SecretTypes}),
secretValue [0] EXPLICIT BAG-TYPE.&Type ({SecretTypes}{@secretTypeId})
}
| Constructor and Description |
|---|
SecretBag(ASN1ObjectIdentifier secretTypeId,
ASN1Encodable secretValue) |
| Modifier and Type | Method and Description |
|---|---|
static SecretBag |
getInstance(java.lang.Object o) |
ASN1ObjectIdentifier |
getSecretTypeId() |
ASN1Encodable |
getSecretValue() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCodepublic SecretBag(ASN1ObjectIdentifier secretTypeId, ASN1Encodable secretValue)
public static SecretBag getInstance(java.lang.Object o)
public ASN1ObjectIdentifier getSecretTypeId()
public ASN1Encodable getSecretValue()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object