public class SMIMECapabilities extends ASN1Object
Modifier and Type | Field and Description |
---|---|
static ASN1ObjectIdentifier |
aes128_CBC |
static ASN1ObjectIdentifier |
aes192_CBC |
static ASN1ObjectIdentifier |
aes256_CBC
encryption algorithms preferences
|
static ASN1ObjectIdentifier |
canNotDecryptAny |
static ASN1ObjectIdentifier |
cast5_CBC |
static ASN1ObjectIdentifier |
dES_CBC |
static ASN1ObjectIdentifier |
dES_EDE3_CBC |
static ASN1ObjectIdentifier |
idea_CBC |
static ASN1ObjectIdentifier |
preferSignedData
general preferences
|
static ASN1ObjectIdentifier |
rC2_CBC |
static ASN1ObjectIdentifier |
sMIMECapabilitesVersions |
Constructor and Description |
---|
SMIMECapabilities(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
java.util.Vector |
getCapabilities(ASN1ObjectIdentifier capability)
returns a vector with 0 or more objects of all the capabilities
matching the passed in capability OID.
|
static SMIMECapabilities |
getInstance(java.lang.Object o)
return an Attribute object from the given object.
|
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
public static final ASN1ObjectIdentifier preferSignedData
public static final ASN1ObjectIdentifier canNotDecryptAny
public static final ASN1ObjectIdentifier sMIMECapabilitesVersions
public static final ASN1ObjectIdentifier aes256_CBC
public static final ASN1ObjectIdentifier aes192_CBC
public static final ASN1ObjectIdentifier aes128_CBC
public static final ASN1ObjectIdentifier idea_CBC
public static final ASN1ObjectIdentifier cast5_CBC
public static final ASN1ObjectIdentifier dES_CBC
public static final ASN1ObjectIdentifier dES_EDE3_CBC
public static final ASN1ObjectIdentifier rC2_CBC
public SMIMECapabilities(ASN1Sequence seq)
public static SMIMECapabilities getInstance(java.lang.Object o)
o
- the object we want converted.java.lang.IllegalArgumentException
- if the object cannot be converted.public java.util.Vector getCapabilities(ASN1ObjectIdentifier capability)
public ASN1Primitive toASN1Primitive()
SMIMECapabilities ::= SEQUENCE OF SMIMECapability
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object