Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • type

        private final java.lang.String type
    • Constructor Detail

      • CmsAttribute

        public CmsAttribute​(java.lang.String type,
                            IASN1Primitive value)
        Creates an attribute.
        Parameters:
        type - the type of the attribute
        value - 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.