Uses of Interface
org.forgerock.opendj.ldap.ByteSequence
-
Packages that use ByteSequence Package Description org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.schema Classes and interfaces for constructing and querying LDAP schemas.org.forgerock.opendj.security An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF basedKeyStore
service. -
-
Uses of ByteSequence in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io with parameters of type ByteSequence Modifier and Type Method Description static Asn1Reader
Asn1. getReader(ByteSequence sequence)
Returns an ASN.1 reader whose source is the provided byte sequence and having an unlimited maximum BER element size.static Asn1Reader
Asn1. getReader(ByteSequence sequence, int maxElementSize)
Returns an ASN.1 reader whose source is the provided byte sequence and having a user defined maximum BER element size.Asn1Writer
Asn1Writer. writeAsn1Element(ByteSequence asn1Element)
Writes exactly the provided byte sequence without encoding the data.Asn1Writer
Asn1Writer. writeOctetString(byte type, ByteSequence value)
Writes an octet string element using the provided type tag.Asn1Writer
Asn1Writer. writeOctetString(ByteSequence value)
Writes an octet string element using the Universal Octet String ASN.1 type tag.Method parameters in org.forgerock.opendj.io with type arguments of type ByteSequence Modifier and Type Method Description Asn1Writer
Asn1Writer. writeSequenceOfOctetStrings(Collection<? extends ByteSequence> values)
Writes a sequence of octet string elements using the Universal Sequence ASN.1 type tag for the sequence and Universal Octet String ASN.1 type tag for the elements.Asn1Writer
Asn1Writer. writeSetOfOctetStrings(Collection<? extends ByteSequence> values)
Writes a set of octet string elements using the Universal Set ASN.1 type tag for the set and Universal Octet String ASN.1 type tag for the elements. -
Uses of ByteSequence in org.forgerock.opendj.ldap
Classes in org.forgerock.opendj.ldap that implement ByteSequence Modifier and Type Class Description class
ByteString
An immutable sequence of bytes backed by a byte array.class
ByteStringBuilder
A mutable sequence of bytes backed by a byte array.Fields in org.forgerock.opendj.ldap with type parameters of type ByteSequence Modifier and Type Field Description static Comparator<ByteSequence>
ByteSequence. COMPARATOR
A ByteSequence comparator.Methods in org.forgerock.opendj.ldap that return ByteSequence Modifier and Type Method Description ByteSequence
ByteSequenceReader. readByteSequence(int length)
Relative bulk read method.ByteSequence
ByteSequence. subSequence(int start)
Returns a new byte sequence that is a subsequence of this byte sequence.ByteSequence
ByteSequence. subSequence(int start, int size)
Returns a new byte sequence that is a subsequence of this byte sequence.ByteSequence
ByteStringBuilder. subSequence(int start)
Returns a new byte sequence that is a subsequence of this byte sequence.ByteSequence
ByteStringBuilder. subSequence(int start, int size)
Returns a new byte sequence that is a subsequence of this byte sequence.Methods in org.forgerock.opendj.ldap with parameters of type ByteSequence Modifier and Type Method Description ByteStringBuilder
ByteStringBuilder. appendBytes(ByteSequence bytes)
Appends the providedByteSequence
to this byte string builder.int
ByteSequence. compareTo(ByteSequence o)
Compares this byte sequence with the specified byte sequence for order.int
ByteString. compareTo(ByteSequence o)
int
ByteStringBuilder. compareTo(ByteSequence o)
static String
Base64. encode(ByteSequence bytes)
Encodes the provided data as a base64 string.static Assertion
Assertion. greaterOrEqualAssertion(String indexId, ByteSequence normalizedAssertionValue)
Returns an assertion for greater than or equal comparisons.static Assertion
Assertion. greaterThanAssertion(String indexId, ByteSequence normalizedAssertionValue)
Returns an assertion for greater than comparisons.static boolean
AuthPassword. isEncoded(ByteSequence value)
Indicates whether the provided value is encoded using the auth password syntax.static boolean
UserPassword. isEncoded(ByteSequence value)
Indicates whether the provided value is encoded using the user password syntax.static Assertion
Assertion. lessOrEqualAssertion(String indexId, ByteSequence normalizedAssertionValue)
Returns an assertion for less than or equal comparisons.static Assertion
Assertion. lessThanAssertion(String indexId, ByteSequence normalizedAssertionValue)
Returns an assertion for less than comparisons.ConditionResult
Assertion. matches(ByteSequence normalizedAttributeValue)
Indicates whether the provided attribute value should be considered a match for this assertion value according to the matching rule.ConditionResult
AbstractAttribute. matchesApproximateAssertion(Assertion assertion, ByteSequence rawAssertion)
ConditionResult
Attribute. matchesApproximateAssertion(Assertion assertion, ByteSequence rawAssertion)
Indicates whether this attribute matches the specified assertion using the attribute's default approximate matching rule.ConditionResult
AbstractAttribute. matchesEqualityAssertion(Assertion assertion, ByteSequence rawAssertion)
ConditionResult
Attribute. matchesEqualityAssertion(Assertion assertion, ByteSequence rawAssertion)
Indicates whether this attribute matches the specified assertion using the attribute's default equality matching rule.ConditionResult
LinkedAttribute. matchesEqualityAssertion(Assertion assertion, ByteSequence rawAssertion)
NOTE: it is only possible to optimize for the equality matching rule because the other matching rules may not be compatible with the equality matching rule's normalized representation.ConditionResult
AbstractAttribute. matchesGreaterOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)
ConditionResult
Attribute. matchesGreaterOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)
Indicates whether this attribute matches the specified assertion using the attribute's default ordering matching rule.ConditionResult
AbstractAttribute. matchesLessOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)
ConditionResult
Attribute. matchesLessOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)
Indicates whether this attribute matches the specified assertion using the attribute's default ordering matching rule.ConditionResult
AbstractAttribute. matchesSubstringAssertion(Assertion assertion, ByteSequence rawInitialSubstring, List<? extends ByteSequence> rawAnySubstrings, ByteSequence rawFinalSubstring)
ConditionResult
Attribute. matchesSubstringAssertion(Assertion assertion, ByteSequence rawInitialSubstring, List<? extends ByteSequence> rawAnySubstrings, ByteSequence rawFinalSubstring)
Indicates whether this attribute matches the specified assertion using the attribute's default ordering matching rule.boolean
ByteSequence. startsWith(ByteSequence prefix)
Tests if this ByteSequence starts with the specified prefix.boolean
ByteString. startsWith(ByteSequence prefix)
boolean
ByteStringBuilder. startsWith(ByteSequence prefix)
Method parameters in org.forgerock.opendj.ldap with type arguments of type ByteSequence Modifier and Type Method Description default ConditionResult
Assertion. matchesAny(Set<? extends ByteSequence> normalizedAttributeValues)
Indicates whether the provided attribute values should be considered a match for this assertion value according to the matching rule.ConditionResult
AbstractAttribute. matchesSubstringAssertion(Assertion assertion, ByteSequence rawInitialSubstring, List<? extends ByteSequence> rawAnySubstrings, ByteSequence rawFinalSubstring)
ConditionResult
Attribute. matchesSubstringAssertion(Assertion assertion, ByteSequence rawInitialSubstring, List<? extends ByteSequence> rawAnySubstrings, ByteSequence rawFinalSubstring)
Indicates whether this attribute matches the specified assertion using the attribute's default ordering matching rule.Constructors in org.forgerock.opendj.ldap with parameters of type ByteSequence Constructor Description ByteStringBuilder(ByteSequence bs)
Creates a new byte string builder with the content of the provided ByteSequence. -
Uses of ByteSequence in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema with parameters of type ByteSequence Modifier and Type Method Description T
IndexQueryFactory. createExactMatchQuery(AttributeDescription attributeDescription, String indexId, ByteSequence key)
Returns a query requesting an index record matching the provided key.void
Indexer. createKeys(ByteSequence value, Consumer<ByteString> keyConsumer)
Generates the set of index keys for an attribute.T
IndexQueryFactory. createRangeMatchQuery(AttributeDescription attributeDescription, String indexId, ByteSequence lower, ByteSequence upper, boolean lowerIncluded, boolean upperIncluded)
Returns a query requesting all index records in the specified range.Assertion
AbstractOrderingMatchingRuleImpl. getAssertion(Schema schema, ByteSequence value)
Assertion
MatchingRule. getAssertion(ByteSequence value)
Returns the normalized form of the provided assertion value, which is best suited for efficiently performing matching operations on that value.default Assertion
MatchingRuleImpl. getAssertion(Schema schema, ByteSequence assertionValue)
Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing less than matching operations on that value.Assertion
AbstractOrderingMatchingRuleImpl. getGreaterOrEqualAssertion(Schema schema, ByteSequence value)
Assertion
MatchingRule. getGreaterOrEqualAssertion(ByteSequence value)
Returns the normalized form of the provided assertion value, which is best suited for efficiently performing greater than or equal ordering matching operations on that value.default Assertion
MatchingRuleImpl. getGreaterOrEqualAssertion(Schema schema, ByteSequence value)
Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing greater than or equal matching operations on that value.Assertion
AbstractOrderingMatchingRuleImpl. getLessOrEqualAssertion(Schema schema, ByteSequence value)
Assertion
MatchingRule. getLessOrEqualAssertion(ByteSequence value)
Returns the normalized form of the provided assertion value, which is best suited for efficiently performing greater than or equal ordering matching operations on that value.default Assertion
MatchingRuleImpl. getLessOrEqualAssertion(Schema schema, ByteSequence value)
Retrieves the normalized form of the provided assertion value, which is best suited for efficiently performing less than or equal matching operations on that value.Assertion
MatchingRule. getSubstringAssertion(ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal)
Returns the normalized form of the provided assertion substring values, which is best suited for efficiently performing matching operations on that value.default Assertion
MatchingRuleImpl. getSubstringAssertion(Schema schema, ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal)
Retrieves the normalized form of the provided assertion substring values, which is best suited for efficiently performing matching operations on that value.String
Indexer. keyToHumanReadableString(ByteSequence key)
Returns a human readable representation of the key.ByteString
MatchingRule. normalizeAttributeValue(ByteSequence value)
Returns the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.ByteString
MatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteSequence value)
Retrieves the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.boolean
Syntax. valueIsAcceptable(ByteSequence value, LocalizableMessageBuilder invalidReason)
Indicates whether the provided value is acceptable for use in an attribute with this syntax.boolean
SyntaxImpl. valueIsAcceptable(Schema schema, ByteSequence value, LocalizableMessageBuilder invalidReason)
Indicates whether the provided value is acceptable for use in an attribute with this syntax.Method parameters in org.forgerock.opendj.ldap.schema with type arguments of type ByteSequence Modifier and Type Method Description Assertion
MatchingRule. getSubstringAssertion(ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal)
Returns the normalized form of the provided assertion substring values, which is best suited for efficiently performing matching operations on that value.default Assertion
MatchingRuleImpl. getSubstringAssertion(Schema schema, ByteSequence subInitial, List<? extends ByteSequence> subAnyElements, ByteSequence subFinal)
Retrieves the normalized form of the provided assertion substring values, which is best suited for efficiently performing matching operations on that value. -
Uses of ByteSequence in org.forgerock.opendj.security
Methods in org.forgerock.opendj.security that return ByteSequence Modifier and Type Method Description ByteSequence
ExternalKeyWrappingStrategy. unwrapKey(ByteSequence wrappedKey)
Unwraps the providedwrapped
key.ByteSequence
ExternalKeyWrappingStrategy. wrapKey(ByteSequence unwrappedKey)
Wraps the provided encoded key.Methods in org.forgerock.opendj.security with parameters of type ByteSequence Modifier and Type Method Description ScramCredential
ScramMechanism. newScramCredential(ByteSequence password)
Generates a new SCRAM credential suitable for storage in the server, using an iteration count of 10000.ScramCredential
ScramMechanism. newScramCredential(ByteSequence password, int iterations)
Generates a new SCRAM credential suitable for storage in the server.SaslServer
ScramMechanism. newScramSaslServer(CallbackHandler callbackHandler, ByteSequence pepper)
Returns a newSaslServer
for this SCRAM mechanism.boolean
ScramMechanism. passwordMatches(ScramCredential scramCredential, ByteSequence password)
Returnstrue
if the password matches the stored SCRAM credentials.ByteSequence
ExternalKeyWrappingStrategy. unwrapKey(ByteSequence wrappedKey)
Unwraps the providedwrapped
key.ByteSequence
ExternalKeyWrappingStrategy. wrapKey(ByteSequence unwrappedKey)
Wraps the provided encoded key.
-