org.bouncycastle.asn1.smime
Class SMIMECapabilities
java.lang.Object
|
+--org.bouncycastle.asn1.smime.SMIMECapabilities
- All Implemented Interfaces:
- DEREncodable
- public class SMIMECapabilities
- extends java.lang.Object
- implements DEREncodable
Handler class for dealing with S/MIME Capabilities
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
preferSignedData
public static final DERObjectIdentifier preferSignedData
- general preferences
canNotDecryptAny
public static final DERObjectIdentifier canNotDecryptAny
sMIMECapabilitesVersions
public static final DERObjectIdentifier sMIMECapabilitesVersions
dES_CBC
public static final DERObjectIdentifier dES_CBC
- encryption algorithms preferences
dES_EDE3_CBC
public static final DERObjectIdentifier dES_EDE3_CBC
rC2_CBC
public static final DERObjectIdentifier rC2_CBC
SMIMECapabilities
public SMIMECapabilities(ASN1Sequence seq)
getInstance
public static SMIMECapabilities getInstance(java.lang.Object o)
- return an Attribute object from the given object.
- Parameters:
o
- the object we want converted.- Throws:
java.lang.IllegalArgumentException
- if the object cannot be converted.
getCapabilities
public java.util.Vector getCapabilities(DERObjectIdentifier capability)
- returns a vector with 0 or more objects of all the capabilities
matching the passed in capability OID. If the OID passed is null the
entire set is returned.
getDERObject
public DERObject getDERObject()
SMIMECapabilities ::= SEQUENCE OF SMIMECapability
- Specified by:
getDERObject
in interface DEREncodable