Package com.itextpdf.signatures.cms
Class CmsAttribute
- java.lang.Object
-
- com.itextpdf.signatures.cms.CmsAttribute
-
public class CmsAttribute extends java.lang.Object
This class represents Attribute structure.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
type
private IASN1Primitive
value
-
Constructor Summary
Constructors Constructor Description CmsAttribute(java.lang.String type, IASN1Primitive value)
Creates an attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getType()
Returns the type of the attribute.IASN1Primitive
getValue()
Returns the value of the attribute.
-
-
-
Field Detail
-
type
private final java.lang.String type
-
value
private final IASN1Primitive value
-
-
Constructor Detail
-
CmsAttribute
public CmsAttribute(java.lang.String type, IASN1Primitive value)
Creates an attribute.- Parameters:
type
- the type of the attributevalue
- the value
-
-
Method Detail
-
getType
public java.lang.String getType()
Returns the type of the attribute.- Returns:
- the type of the attribute.
-
getValue
public IASN1Primitive getValue()
Returns the value of the attribute.- Returns:
- the value of the attribute.
-
-