Package org.bouncycastle.asn1.smime
Class SMIMECapabilities
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.smime.SMIMECapabilities
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class SMIMECapabilities extends org.bouncycastle.asn1.ASN1ObjectHandler class for dealing with S/MIME Capabilities
-
-
Field Summary
Fields Modifier and Type Field Description static org.bouncycastle.asn1.ASN1ObjectIdentifieraes128_CBCstatic org.bouncycastle.asn1.ASN1ObjectIdentifieraes192_CBCstatic org.bouncycastle.asn1.ASN1ObjectIdentifieraes256_CBCencryption algorithms preferencesstatic org.bouncycastle.asn1.ASN1ObjectIdentifiercanNotDecryptAnystatic org.bouncycastle.asn1.ASN1ObjectIdentifiercast5_CBCstatic org.bouncycastle.asn1.ASN1ObjectIdentifierdES_CBCstatic org.bouncycastle.asn1.ASN1ObjectIdentifierdES_EDE3_CBCstatic org.bouncycastle.asn1.ASN1ObjectIdentifieridea_CBCstatic org.bouncycastle.asn1.ASN1ObjectIdentifierpreferSignedDatageneral preferencesstatic org.bouncycastle.asn1.ASN1ObjectIdentifierrC2_CBCstatic org.bouncycastle.asn1.ASN1ObjectIdentifiersMIMECapabilitesVersions
-
Constructor Summary
Constructors Constructor Description SMIMECapabilities(org.bouncycastle.asn1.ASN1Sequence seq)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.VectorgetCapabilities(org.bouncycastle.asn1.ASN1ObjectIdentifier capability)returns a vector with 0 or more objects of all the capabilities matching the passed in capability OID.static SMIMECapabilitiesgetInstance(java.lang.Object o)return an Attribute object from the given object.org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()Produce an object suitable for an ASN1OutputStream.
-
-
-
Field Detail
-
preferSignedData
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier preferSignedData
general preferences
-
canNotDecryptAny
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier canNotDecryptAny
-
sMIMECapabilitesVersions
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier sMIMECapabilitesVersions
-
aes256_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aes256_CBC
encryption algorithms preferences
-
aes192_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aes192_CBC
-
aes128_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier aes128_CBC
-
idea_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier idea_CBC
-
cast5_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier cast5_CBC
-
dES_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier dES_CBC
-
dES_EDE3_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier dES_EDE3_CBC
-
rC2_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier rC2_CBC
-
-
Method Detail
-
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(org.bouncycastle.asn1.ASN1ObjectIdentifier 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.
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.SMIMECapabilities ::= SEQUENCE OF SMIMECapability
- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
-