Package org.ldaptive.asn1
Class RDN
java.lang.Object
org.ldaptive.asn1.RDN
- All Implemented Interfaces:
DEREncoder
Deprecated.
A set of attribute value assertions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AttributeValueAssertion[]
Deprecated.Attribute value assertions in this RDN.private static final int
Deprecated.hash code seed.private static final DERPath
Deprecated.DER path for RDN parsing. -
Constructor Summary
ConstructorsConstructorDescriptionRDN
(Collection<AttributeValueAssertion> assertions) Deprecated.Creates a new RDN.RDN
(AttributeValueAssertion... assertions) Deprecated.Creates a new RDN. -
Method Summary
Modifier and TypeMethodDescriptionstatic RDN[]
Deprecated.Converts bytes in the buffer to RDNs by reading from the current position to the limit.byte[]
encode()
Deprecated.Encode this object into it's DER type.boolean
Deprecated.getAttributeValue
(String oid) Deprecated.Returns a single attribute value for the supplied oid.<T> T
getAttributeValue
(String oid, ValueTranscoder<T> transcoder) Deprecated.Returns a single attribute value for the supplied oid.Deprecated.Returns the attribute value assertions in this RDN.getAttributeValues
(String oid) Deprecated.Returns the attribute values for the supplied oid.<T> T[]
getAttributeValues
(String oid, ValueTranscoder<T> transcoder) Deprecated.Returns the attribute values decoded by the supplied transcoder.int
hashCode()
Deprecated.toString()
Deprecated.
-
Field Details
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDDeprecated.hash code seed.- See Also:
-
RDN_PATH
Deprecated.DER path for RDN parsing. -
attributeValueAssertions
Deprecated.Attribute value assertions in this RDN.
-
-
Constructor Details
-
RDN
Deprecated.Creates a new RDN.- Parameters:
assertions
- in this RDN
-
RDN
Deprecated.Creates a new RDN.- Parameters:
assertions
- in this RDN
-
-
Method Details
-
getAttributeValueAssertions
Deprecated.Returns the attribute value assertions in this RDN.- Returns:
- attribute value assertions
-
getAttributeValues
Deprecated.Returns the attribute values for the supplied oid.- Parameters:
oid
- to match- Returns:
- attribute values
-
getAttributeValue
Deprecated.Returns a single attribute value for the supplied oid. SeegetAttributeValues(String)
.- Parameters:
oid
- to match- Returns:
- attribute value
-
getAttributeValues
Deprecated.Returns the attribute values decoded by the supplied transcoder.- Type Parameters:
T
- type of value- Parameters:
oid
- to matchtranscoder
- to decode the binary value- Returns:
- decoded attribute values
-
getAttributeValue
Deprecated.Returns a single attribute value for the supplied oid. SeegetAttributeValues(String, ValueTranscoder)
.- Type Parameters:
T
- type of value- Parameters:
oid
- to matchtranscoder
- to decode the binary value- Returns:
- decoded attribute value
-
encode
public byte[] encode()Deprecated.Description copied from interface:DEREncoder
Encode this object into it's DER type.- Specified by:
encode
in interfaceDEREncoder
- Returns:
- DER encoded object
-
decode
Deprecated.Converts bytes in the buffer to RDNs by reading from the current position to the limit.- Parameters:
encoded
- buffer containing DER-encoded data where the buffer is positioned at the tag of the RDN and the limit is set beyond the last byte of the RDN.- Returns:
- decoded bytes as RDNs
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-
RDn