org.bouncycastle.asn1.smime
Class SMIMECapabilities
- DEREncodable
public class SMIMECapabilities
Handler class for dealing with S/MIME Capabilities
getCapabilities
public 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.
getInstance
public static SMIMECapabilities getInstance(Object o)
return an Attribute object from the given object.
o
- the object we want converted.
toASN1Object
public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
SMIMECapabilities ::= SEQUENCE OF SMIMECapability
- toASN1Object in interface ASN1Encodable