Enhydra-Oyster 2.1-7 API

org.enhydra.oyster.cms
Class CapabilitiesAttribute

java.lang.Object
  extended byorg.enhydra.oyster.der.DERObject
      extended byorg.enhydra.oyster.der.DERSequencePr
          extended byorg.enhydra.oyster.cms.Attribute
              extended byorg.enhydra.oyster.cms.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.enhydra.oyster.cms.Attribute
addContent, getDEREncoded
 
Methods inherited from class org.enhydra.oyster.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

CapabilitiesAttribute

public CapabilitiesAttribute(java.lang.String[] capabilities0)
                      throws SMIMEException
Constructs capabilities from given list with information about algorithm

Parameters:
capabilities0 - is array of Strings with element corresponds to appropriate algorithm (list of algorithms).
Throws:
SMIMEException - in case of unknown type of Capabilities Attributes. Also, it can be thrown from super class constructor or its addContent method.

Enhydra-Oyster 2.1-7 API