Class CapabilitiesAttribute


public class CapabilitiesAttribute
extends Attribute

Capabilities which this class can indicate are capabilities of symetric encryption algorithm: DES_EDE3_CBC, RC2_CBC with 128bit key, RC2_CBC with 64bit key, DES and RC2_CBC with 40bit key. Capabilities Attributes are one of Signed Attributes and are used for creating CMS objects for signed messages.

Constructor Summary
CapabilitiesAttribute(java.lang.String[] capabilities0)
          Constructs capabilities from given list with information about algorithm
Methods inherited from class org.webdocwf.util.smime.cms.Attribute
addContent, getDEREncoded
Methods inherited from class org.webdocwf.util.smime.der.DERObject
getContentOctets, getContentPartSize, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public CapabilitiesAttribute(java.lang.String[] capabilities0)
                      throws SMIMEException
Constructs capabilities from given list with information about algorithm
capabilities0 - is array of Strings with element corresponds to appropriate algorithm (list of algorithms).
SMIMEException - in case of unknown type of Capabilities Attributes. Also, it can be thrown from super class constructor or its addContent method.

Copyright © 2002-2002 Together Teamlösungen. All Rights Reserved.