public class SMIMECapabilities extends ASN1Encodable
Modifier and Type | Field and Description |
---|---|
static DERObjectIdentifier |
canNotDecryptAny |
static DERObjectIdentifier |
dES_CBC
encryption algorithms preferences
|
static DERObjectIdentifier |
dES_EDE3_CBC |
static DERObjectIdentifier |
preferSignedData
general preferences
|
static DERObjectIdentifier |
rC2_CBC |
static DERObjectIdentifier |
sMIMECapabilitesVersions |
BER, DER
Constructor and Description |
---|
SMIMECapabilities(ASN1Sequence seq) |
Modifier and Type | Method and Description |
---|---|
Vector |
getCapabilities(DERObjectIdentifier capability)
returns a vector with 0 or more objects of all the capabilities
matching the passed in capability OID.
|
static SMIMECapabilities |
getInstance(Object o)
return an Attribute object from the given object.
|
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public static final DERObjectIdentifier preferSignedData
public static final DERObjectIdentifier canNotDecryptAny
public static final DERObjectIdentifier sMIMECapabilitesVersions
public static final DERObjectIdentifier dES_CBC
public static final DERObjectIdentifier dES_EDE3_CBC
public static final DERObjectIdentifier rC2_CBC
public SMIMECapabilities(ASN1Sequence seq)
public static SMIMECapabilities getInstance(Object o)
o
- the object we want converted.IllegalArgumentException
- if the object cannot be converted.public Vector getCapabilities(DERObjectIdentifier capability)
public DERObject toASN1Object()
SMIMECapabilities ::= SEQUENCE OF SMIMECapability
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.