Class Attribute

java.lang.Object
org.cryptacular.x509.dn.Attribute

public class Attribute extends Object
Simple implementation of the X.501 AttributeTypeAndValue that makes up the RelativeDistinguishedName type described in section 4.1.2.4 of RFC 2459.
Author:
Middleware Services
  • Constructor Details

    • Attribute

      public Attribute(AttributeType type, String value)
      Creates a new instance of the given type and value.
      Parameters:
      type - Attribute type.
      value - Attribute value.
  • Method Details

    • getType

      public AttributeType getType()
      Returns:
      Attribute type.
    • getValue

      public String getValue()
      Returns:
      Attribute value.