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 basedKeyStoreservice. -
-
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 Asn1ReaderAsn1. getReader(ByteSequence sequence)Returns an ASN.1 reader whose source is the provided byte sequence and having an unlimited maximum BER element size.static Asn1ReaderAsn1. 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.Asn1WriterAsn1Writer. writeAsn1Element(ByteSequence asn1Element)Writes exactly the provided byte sequence without encoding the data.Asn1WriterAsn1Writer. writeOctetString(byte type, ByteSequence value)Writes an octet string element using the provided type tag.Asn1WriterAsn1Writer. 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 Asn1WriterAsn1Writer. 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.Asn1WriterAsn1Writer. 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 classByteStringAn immutable sequence of bytes backed by a byte array.classByteStringBuilderA 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. COMPARATORA ByteSequence comparator.Methods in org.forgerock.opendj.ldap that return ByteSequence Modifier and Type Method Description ByteSequenceByteSequenceReader. readByteSequence(int length)Relative bulk read method.ByteSequenceByteSequence. subSequence(int start)Returns a new byte sequence that is a subsequence of this byte sequence.ByteSequenceByteSequence. subSequence(int start, int size)Returns a new byte sequence that is a subsequence of this byte sequence.ByteSequenceByteStringBuilder. subSequence(int start)Returns a new byte sequence that is a subsequence of this byte sequence.ByteSequenceByteStringBuilder. 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 ByteStringBuilderByteStringBuilder. appendBytes(ByteSequence bytes)Appends the providedByteSequenceto this byte string builder.intByteSequence. compareTo(ByteSequence o)Compares this byte sequence with the specified byte sequence for order.intByteString. compareTo(ByteSequence o)intByteStringBuilder. compareTo(ByteSequence o)static StringBase64. encode(ByteSequence bytes)Encodes the provided data as a base64 string.static AssertionAssertion. greaterOrEqualAssertion(String indexId, ByteSequence normalizedAssertionValue)Returns an assertion for greater than or equal comparisons.static AssertionAssertion. greaterThanAssertion(String indexId, ByteSequence normalizedAssertionValue)Returns an assertion for greater than comparisons.static booleanAuthPassword. isEncoded(ByteSequence value)Indicates whether the provided value is encoded using the auth password syntax.static booleanUserPassword. isEncoded(ByteSequence value)Indicates whether the provided value is encoded using the user password syntax.static AssertionAssertion. lessOrEqualAssertion(String indexId, ByteSequence normalizedAssertionValue)Returns an assertion for less than or equal comparisons.static AssertionAssertion. lessThanAssertion(String indexId, ByteSequence normalizedAssertionValue)Returns an assertion for less than comparisons.ConditionResultAssertion. matches(ByteSequence normalizedAttributeValue)Indicates whether the provided attribute value should be considered a match for this assertion value according to the matching rule.ConditionResultAbstractAttribute. matchesApproximateAssertion(Assertion assertion, ByteSequence rawAssertion)ConditionResultAttribute. matchesApproximateAssertion(Assertion assertion, ByteSequence rawAssertion)Indicates whether this attribute matches the specified assertion using the attribute's default approximate matching rule.ConditionResultAbstractAttribute. matchesEqualityAssertion(Assertion assertion, ByteSequence rawAssertion)ConditionResultAttribute. matchesEqualityAssertion(Assertion assertion, ByteSequence rawAssertion)Indicates whether this attribute matches the specified assertion using the attribute's default equality matching rule.ConditionResultLinkedAttribute. 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.ConditionResultAbstractAttribute. matchesGreaterOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)ConditionResultAttribute. matchesGreaterOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)Indicates whether this attribute matches the specified assertion using the attribute's default ordering matching rule.ConditionResultAbstractAttribute. matchesLessOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)ConditionResultAttribute. matchesLessOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)Indicates whether this attribute matches the specified assertion using the attribute's default ordering matching rule.ConditionResultAbstractAttribute. matchesSubstringAssertion(Assertion assertion, ByteSequence rawInitialSubstring, List<? extends ByteSequence> rawAnySubstrings, ByteSequence rawFinalSubstring)ConditionResultAttribute. 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.booleanByteSequence. startsWith(ByteSequence prefix)Tests if this ByteSequence starts with the specified prefix.booleanByteString. startsWith(ByteSequence prefix)booleanByteStringBuilder. startsWith(ByteSequence prefix)Method parameters in org.forgerock.opendj.ldap with type arguments of type ByteSequence Modifier and Type Method Description default ConditionResultAssertion. 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.ConditionResultAbstractAttribute. matchesSubstringAssertion(Assertion assertion, ByteSequence rawInitialSubstring, List<? extends ByteSequence> rawAnySubstrings, ByteSequence rawFinalSubstring)ConditionResultAttribute. 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 TIndexQueryFactory. createExactMatchQuery(AttributeDescription attributeDescription, String indexId, ByteSequence key)Returns a query requesting an index record matching the provided key.voidIndexer. createKeys(ByteSequence value, Consumer<ByteString> keyConsumer)Generates the set of index keys for an attribute.TIndexQueryFactory. createRangeMatchQuery(AttributeDescription attributeDescription, String indexId, ByteSequence lower, ByteSequence upper, boolean lowerIncluded, boolean upperIncluded)Returns a query requesting all index records in the specified range.AssertionAbstractOrderingMatchingRuleImpl. getAssertion(Schema schema, ByteSequence value)AssertionMatchingRule. 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 AssertionMatchingRuleImpl. 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.AssertionAbstractOrderingMatchingRuleImpl. getGreaterOrEqualAssertion(Schema schema, ByteSequence value)AssertionMatchingRule. 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 AssertionMatchingRuleImpl. 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.AssertionAbstractOrderingMatchingRuleImpl. getLessOrEqualAssertion(Schema schema, ByteSequence value)AssertionMatchingRule. 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 AssertionMatchingRuleImpl. 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.AssertionMatchingRule. 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 AssertionMatchingRuleImpl. 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.StringIndexer. keyToHumanReadableString(ByteSequence key)Returns a human readable representation of the key.ByteStringMatchingRule. normalizeAttributeValue(ByteSequence value)Returns the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.ByteStringMatchingRuleImpl. 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.booleanSyntax. valueIsAcceptable(ByteSequence value, LocalizableMessageBuilder invalidReason)Indicates whether the provided value is acceptable for use in an attribute with this syntax.booleanSyntaxImpl. 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 AssertionMatchingRule. 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 AssertionMatchingRuleImpl. 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 ByteSequenceExternalKeyWrappingStrategy. unwrapKey(ByteSequence wrappedKey)Unwraps the providedwrappedkey.ByteSequenceExternalKeyWrappingStrategy. wrapKey(ByteSequence unwrappedKey)Wraps the provided encoded key.Methods in org.forgerock.opendj.security with parameters of type ByteSequence Modifier and Type Method Description ScramCredentialScramMechanism. newScramCredential(ByteSequence password)Generates a new SCRAM credential suitable for storage in the server, using an iteration count of 10000.ScramCredentialScramMechanism. newScramCredential(ByteSequence password, int iterations)Generates a new SCRAM credential suitable for storage in the server.SaslServerScramMechanism. newScramSaslServer(CallbackHandler callbackHandler, ByteSequence pepper)Returns a newSaslServerfor this SCRAM mechanism.booleanScramMechanism. passwordMatches(ScramCredential scramCredential, ByteSequence password)Returnstrueif the password matches the stored SCRAM credentials.ByteSequenceExternalKeyWrappingStrategy. unwrapKey(ByteSequence wrappedKey)Unwraps the providedwrappedkey.ByteSequenceExternalKeyWrappingStrategy. wrapKey(ByteSequence unwrappedKey)Wraps the provided encoded key.
-