iaik.smime.ess
Class ESSAttributeValue

java.lang.Object
  extended by iaik.asn1.structures.AttributeValue
      extended by iaik.smime.ess.ESSAttributeValue
All Implemented Interfaces:
ASN1Type
Direct Known Subclasses:
ContentHints, ContentIdentifier, ContentReference, EquivalentLabels, ESSSecurityLabel, MLExpansionHistory, MsgSigDigest, ReceiptRequest, SigningCertificate

public abstract class ESSAttributeValue
extends AttributeValue

Groups all ESS Attribute implementations.


Constructor Summary
ESSAttributeValue()
           
 
Method Summary
abstract  boolean equals(java.lang.Object obj)
          Compares this ESSAttributeValue to the specified object.
 int hashCode()
          Returns a hashcode for this ESSAttributeValue.
 boolean multipleAllowed()
          Returns false since multiple AttributeValues are NOT allowed in the SET OF AttributeValue for all attribute values specified by ESS (RFC 2634).
 
Methods inherited from class iaik.asn1.structures.AttributeValue
getAttributeType, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface iaik.asn1.ASN1Type
decode, toASN1Object
 

Constructor Detail

ESSAttributeValue

public ESSAttributeValue()
Method Detail

equals

public abstract boolean equals(java.lang.Object obj)
Compares this ESSAttributeValue to the specified object.

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object to compare this ESSAttributeValue against.
Returns:
true, if the given object is equal to this ESSAttributeValue, false otherwise

hashCode

public int hashCode()
Returns a hashcode for this ESSAttributeValue.

Overrides:
hashCode in class java.lang.Object
Returns:
a hashcode calculated for this ESSAttributeValue

multipleAllowed

public boolean multipleAllowed()
Returns false since multiple AttributeValues are NOT allowed in the SET OF AttributeValue for all attribute values specified by ESS (RFC 2634).

Overrides:
multipleAllowed in class AttributeValue
Returns:
false since only one attribute value is allowed

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC