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.ldap.spi |
Interfaces and classes for service providers.
|
org.forgerock.opendj.security |
An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF based
KeyStore service. |
Modifier and Type | Method and 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.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.
|
Asn1Writer |
AbstractAsn1Writer.writeOctetString(ByteSequence value) |
Modifier and Type | Class and 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.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<ByteSequence> |
ByteSequence.COMPARATOR
A ByteSequence comparator.
|
Modifier and Type | Method and Description |
---|---|
ByteSequence |
ByteSequenceReader.readByteSequence(int length)
Relative bulk read method.
|
ByteSequence |
ByteStringBuilder.subSequence(int start,
int end)
Returns a new byte sequence that is a subsequence of this byte sequence.
|
ByteSequence |
ByteSequence.subSequence(int start,
int end)
Returns a new byte sequence that is a subsequence of this byte sequence.
|
Modifier and Type | Method and Description |
---|---|
ByteStringBuilder |
ByteStringBuilder.appendBytes(ByteSequence bytes)
Appends the provided
ByteSequence to this byte string builder. |
int |
ByteStringBuilder.compareTo(ByteSequence o) |
int |
ByteString.compareTo(ByteSequence o) |
int |
ByteSequence.compareTo(ByteSequence o)
Compares this byte sequence with the specified byte sequence for order.
|
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 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 |
Attribute.matchesApproximateAssertion(Assertion assertion,
ByteSequence rawAssertion)
Indicates whether this attribute matches the specified assertion using the attribute's default approximate
matching rule.
|
ConditionResult |
AbstractAttribute.matchesApproximateAssertion(Assertion assertion,
ByteSequence rawAssertion) |
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 |
Attribute.matchesEqualityAssertion(Assertion assertion,
ByteSequence rawAssertion)
Indicates whether this attribute matches the specified assertion using the attribute's default equality matching
rule.
|
ConditionResult |
AbstractAttribute.matchesEqualityAssertion(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.matchesGreaterOrEqualAssertion(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.matchesLessOrEqualAssertion(Assertion assertion,
ByteSequence rawAssertion) |
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.
|
ConditionResult |
AbstractAttribute.matchesSubstringAssertion(Assertion assertion,
ByteSequence rawInitialSubstring,
List<? extends ByteSequence> rawAnySubstrings,
ByteSequence rawFinalSubstring) |
boolean |
ByteStringBuilder.startsWith(ByteSequence prefix) |
boolean |
ByteString.startsWith(ByteSequence prefix) |
boolean |
ByteSequence.startsWith(ByteSequence prefix)
Tests if this ByteSequence starts with the specified prefix.
|
Modifier and Type | Method and 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 |
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.
|
ConditionResult |
AbstractAttribute.matchesSubstringAssertion(Assertion assertion,
ByteSequence rawInitialSubstring,
List<? extends ByteSequence> rawAnySubstrings,
ByteSequence rawFinalSubstring) |
Constructor and Description |
---|
ByteStringBuilder(ByteSequence bs)
Creates a new byte string builder with the content of the provided
ByteSequence.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.getAssertion(Schema schema,
ByteSequence value) |
Assertion |
AbstractEqualityMatchingRuleImpl.getAssertion(Schema schema,
ByteSequence assertionValue) |
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.
|
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.getGreaterOrEqualAssertion(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.
|
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 |
AbstractOrderingMatchingRuleImpl.getLessOrEqualAssertion(Schema schema,
ByteSequence 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.
|
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.
|
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,
org.forgerock.i18n.LocalizableMessageBuilder invalidReason)
Indicates whether the provided value is acceptable for use in an
attribute with this syntax.
|
boolean |
SyntaxImpl.valueIsAcceptable(Schema schema,
ByteSequence value,
org.forgerock.i18n.LocalizableMessageBuilder invalidReason)
Indicates whether the provided value is acceptable for use in an
attribute with this syntax.
|
Modifier and Type | Method and 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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
T |
IndexQueryFactory.createExactMatchQuery(AttributeDescription attributeDescription,
String indexID,
ByteSequence key)
Returns a query requesting an index record matching the provided key.
|
void |
Indexer.createKeys(Schema schema,
ByteSequence value,
Collection<ByteString> keys)
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.
|
String |
Indexer.keyToHumanReadableString(ByteSequence key)
Returns a human readable representation of the key.
|
Modifier and Type | Method and Description |
---|---|
ByteSequence |
ExternalKeyWrappingStrategy.unwrapKey(ByteSequence wrappedKey)
Unwraps the provided
wrapped key. |
ByteSequence |
ExternalKeyWrappingStrategy.wrapKey(ByteSequence unwrappedKey)
Wraps the provided encoded key.
|
Modifier and Type | Method and Description |
---|---|
ByteSequence |
ExternalKeyWrappingStrategy.unwrapKey(ByteSequence wrappedKey)
Unwraps the provided
wrapped key. |
ByteSequence |
ExternalKeyWrappingStrategy.wrapKey(ByteSequence unwrappedKey)
Wraps the provided encoded key.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.