Package org.cryptacular.x509.dn
Class Attribute
java.lang.Object
org.cryptacular.x509.dn.Attribute
Simple implementation of the X.501 AttributeTypeAndValue that makes up the RelativeDistinguishedName type described
in section 4.1.2.4 of RFC 2459.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AttributeTypeAttribute type.private final StringAttribute value. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
Attribute type. -
value
Attribute value.
-
-
Constructor Details
-
Attribute
Creates a new instance of the given type and value.- Parameters:
typeOid- OID of attribute type.value- Attribute value.
-
Attribute
Creates a new instance of the given type and value.- Parameters:
type- Attribute type.value- Attribute value.
-
-
Method Details
-
getType
- Returns:
- Attribute type.
-
getValue
- Returns:
- Attribute value.
-