Package org.bouncycastle.asn1.smime
Class SMIMECapability
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.smime.SMIMECapability
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class SMIMECapability
extends org.bouncycastle.asn1.ASN1Object
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
encryption algorithms preferencesstatic final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
general preferencesstatic final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
-
Constructor Summary
ConstructorDescriptionSMIMECapability
(org.bouncycastle.asn1.ASN1ObjectIdentifier capabilityID, org.bouncycastle.asn1.ASN1Encodable parameters) SMIMECapability
(org.bouncycastle.asn1.ASN1Sequence seq) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1ObjectIdentifier
static SMIMECapability
getInstance
(Object obj) org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.ASN1Primitive
Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
preferSignedData
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier preferSignedDatageneral preferences -
canNotDecryptAny
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier canNotDecryptAny -
sMIMECapabilitiesVersions
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier sMIMECapabilitiesVersions -
dES_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier dES_CBCencryption algorithms preferences -
dES_EDE3_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier dES_EDE3_CBC -
rC2_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier rC2_CBC -
aES128_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aES128_CBC -
aES192_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aES192_CBC -
aES256_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aES256_CBC
-
-
Constructor Details
-
SMIMECapability
public SMIMECapability(org.bouncycastle.asn1.ASN1Sequence seq) -
SMIMECapability
public SMIMECapability(org.bouncycastle.asn1.ASN1ObjectIdentifier capabilityID, org.bouncycastle.asn1.ASN1Encodable parameters)
-
-
Method Details
-
getInstance
-
getCapabilityID
public org.bouncycastle.asn1.ASN1ObjectIdentifier getCapabilityID() -
getParameters
public org.bouncycastle.asn1.ASN1Encodable getParameters() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()Produce an object suitable for an ASN1OutputStream.SMIMECapability ::= SEQUENCE { capabilityID OBJECT IDENTIFIER, parameters ANY DEFINED BY capabilityID OPTIONAL }
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-