|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.smime.SMIMECapabilities
public class SMIMECapabilities
Handler class for dealing with S/MIME Capabilities
Field Summary | |
---|---|
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
|
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
BER, DER |
Constructor Summary | |
---|---|
SMIMECapabilities(ASN1Sequence seq)
|
Method Summary | |
---|---|
java.util.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(java.lang.Object o)
return an Attribute object from the given object. |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream. |
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public SMIMECapabilities(ASN1Sequence seq)
Method Detail |
---|
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(DERObjectIdentifier capability)
public DERObject toASN1Object()
SMIMECapabilities ::= SEQUENCE OF SMIMECapability
toASN1Object
in class ASN1Encodable
|
Bouncy Castle Cryptography Library 1.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |