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.rest2ldap.schema This package contains LDAP schema syntaxes and matching rules for JSON based attributes.org.forgerock.opendj.security An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF basedKeyStoreservice.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.backends.pluggable.spi Interfaces and classes required when implementing new storage engines for the pluggable backend.org.opends.server.core Contains various classes that comprise the core of the Directory Server codebase.org.opends.server.crypto This package implements the Directory Server cryptographic framework, which is described in the CrytpoManager design document.org.opends.server.extensions Contains various implementations of Directory Server APIs that are not appropriate for other packages.org.opends.server.replication.common This package contains utilities that can are used by all the packages below org.opends.server.replication.org.opends.server.replication.plugin This package contains the part of the Multi-master replication code that works on the Directory Server side.org.opends.server.util Contains implementations for various Directory Server utility classes and methods which may be used throughout the server but do not necessarily fit in elsewhere. -
-
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.rest2ldap.schema
Methods in org.forgerock.opendj.rest2ldap.schema with parameters of type ByteSequence Modifier and Type Method Description static ObjectJsonSchema. byteStringToJson(ByteSequence value)Parses the provided byte string as a JSON value.static Pair<Dn,Object>JsonSchema. byteStringToNameAndJson(Schema schema, ByteSequence value)Decodes the provided value as a Name and JSON value.static DnJsonSchema. byteStringToNameWithoutJson(Schema schema, ByteSequence value)Decodes the provided value as a Name and JSON value but without decoding the JSON value.static ByteStringJsonSchema. nameAndJsonToByteString(ByteSequence nameAndJsonValue, Dn newName) -
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. -
Uses of ByteSequence in org.opends.server.api
Methods in org.opends.server.api with parameters of type ByteSequence Modifier and Type Method Description booleanPasswordStorageScheme. authPasswordMatches(ByteSequence plaintextPassword, String authInfo, String authValue)Indicates whether the provided plaintext password matches the encoded password using the authentication password syntax with the given authInfo and authValue components.ByteStringPasswordStorageScheme. encodeAuthPassword(ByteSequence plaintext)Encodes the provided plaintext password for this storage scheme using the authentication password syntax defined in RFC 3112.abstract ByteStringPasswordStorageScheme. encodePassword(ByteSequence plaintext)Encodes the provided plaintext password for this storage scheme, without the name of the associated scheme.ByteStringPasswordStorageScheme. encodePasswordWithScheme(ByteSequence plaintext)Encodes the provided plaintext password for this storage scheme, prepending the name of the scheme in curly braces.ByteStringPasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)Retrieves the original plaintext value for the provided stored password.booleanPasswordStorageScheme. isRehashNeeded(ByteSequence storedPassword)Indicates whether the encoded password needs to be rehashed because the password storage scheme configuration changed.abstract booleanPasswordStorageScheme. passwordMatches(ByteSequence plaintextPassword, ByteSequence storedPassword)Indicates whether the provided plaintext password included in a bind request matches the given stored value. -
Uses of ByteSequence in org.opends.server.backends.pluggable.spi
Methods in org.opends.server.backends.pluggable.spi that return ByteSequence Modifier and Type Method Description ByteSequenceUpdateFunction. computeNewValue(ByteSequence oldValue)Computes the new value for a record based on the record's existing content.Methods in org.opends.server.backends.pluggable.spi with parameters of type ByteSequence Modifier and Type Method Description ByteSequenceUpdateFunction. computeNewValue(ByteSequence oldValue)Computes the new value for a record based on the record's existing content.default booleanWriteableTransaction. delete(TreeName treeName, ByteSequence key)Deletes the record with the provided key, in the tree whose name is provided.voidImporter. put(TreeName treeName, ByteSequence key, ByteSequence value)Creates a record with the provided key and value in the tree identified by the provided name.default voidWriteableTransaction. put(TreeName treeName, ByteSequence key, ByteSequence value)Adds a record with the provided key and value, replacing any existing record having the same key.ByteStringImporter. read(TreeName treeName, ByteSequence key)Reads the record's value associated to the provided key, in the tree whose name is provided.default ByteStringReadableTransaction. read(TreeName treeName, ByteSequence key)Reads the record's value associated to the provided key, in the tree whose name is provided.default booleanWriteableTransaction. update(TreeName treeName, ByteSequence key, UpdateFunction f)Atomically adds, deletes, or replaces a record with the provided key according to the new value computed by the update function. -
Uses of ByteSequence in org.opends.server.core
Methods in org.opends.server.core with parameters of type ByteSequence Modifier and Type Method Description static booleanPasswordVerifier. authPasswordMatches(ByteSequence plaintextPassword, String encodedPassword)Indicates whether the provided plaintext password matches the encoded password using the authentication password syntax.static booleanPasswordVerifier. authPasswordMatches(PasswordStorageScheme<?> scheme, ByteSequence plaintextPassword, AuthPassword password)Indicates whether the provided plaintext password matches the encoded password using the authentication password syntax.booleanPasswordVerifier. passwordMatches(ByteSequence plaintextPassword, String encodedPassword)Indicates whether the provided plaintext password matches the encoded password.static booleanPasswordVerifier. userPasswordMatches(ByteSequence plaintextPassword, String encodedPassword)Indicates whether the provided plaintext password matches the encoded password using the user password syntax.static booleanPasswordVerifier. userPasswordMatches(PasswordStorageScheme<?> scheme, ByteSequence plaintextPassword, UserPassword password)Indicates whether the provided plaintext password matches the encoded password using the user password syntax. -
Uses of ByteSequence in org.opends.server.crypto
Methods in org.opends.server.crypto that return ByteSequence Modifier and Type Method Description ByteSequenceCryptoManager.CipherService. getEncodedSecretKeys()Return the list of active and previously used secret keys encoded as an ASN.1 sequence.Methods in org.opends.server.crypto with parameters of type ByteSequence Modifier and Type Method Description CryptoManager.CipherServiceCryptoManager.CipherService. useKeysFromEncoding(ByteSequence wrappedKeys)Use the provided encoded secret keys for cryptographic operations. -
Uses of ByteSequence in org.opends.server.extensions
Methods in org.opends.server.extensions with parameters of type ByteSequence Modifier and Type Method Description booleanPKCS5S2PasswordStorageScheme. authPasswordMatches(ByteSequence plaintextPassword, String authInfo, String authValue)ByteStringPKCS5S2PasswordStorageScheme. encodeAuthPassword(ByteSequence plaintext)ByteStringArgon2PasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringBase64PasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringBcryptPasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringClearPasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringCryptPasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringPKCS5S2PasswordStorageScheme. encodePassword(ByteSequence plaintext)ByteStringBase64PasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)ByteStringClearPasswordStorageScheme. getPlaintextValue(ByteSequence storedPassword)booleanArgon2PasswordStorageScheme. isRehashNeeded(ByteSequence storedPassword)booleanBcryptPasswordStorageScheme. isRehashNeeded(ByteSequence storedPassword)booleanArgon2PasswordStorageScheme. passwordMatches(ByteSequence plaintextPassword, ByteSequence storedPassword)booleanBase64PasswordStorageScheme. passwordMatches(ByteSequence plaintextPassword, ByteSequence storedPassword)booleanBcryptPasswordStorageScheme. passwordMatches(ByteSequence plaintextPassword, ByteSequence storedPassword)booleanClearPasswordStorageScheme. passwordMatches(ByteSequence plaintextPassword, ByteSequence storedPassword)booleanCryptPasswordStorageScheme. passwordMatches(ByteSequence plaintextPassword, ByteSequence storedPassword)booleanPKCS5S2PasswordStorageScheme. passwordMatches(ByteSequence plaintextPassword, ByteSequence storedPassword) -
Uses of ByteSequence in org.opends.server.replication.common
Methods in org.opends.server.replication.common with parameters of type ByteSequence Modifier and Type Method Description static CSNCSN. valueOf(ByteSequence bs)Decodes the providedCSN.toByteString(CsnVersion)representation of a CSN. -
Uses of ByteSequence in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin with parameters of type ByteSequence Modifier and Type Method Description AssertionHistoricalCsnOrderingMatchingRuleImpl. getAssertion(Schema schema, ByteSequence value)AssertionHistoricalCsnRangeMatchingRuleImpl. getAssertion(Schema schema, ByteSequence assertionValue)AssertionHistoricalCsnOrderingMatchingRuleImpl. getGreaterOrEqualAssertion(Schema schema, ByteSequence value)AssertionHistoricalCsnOrderingMatchingRuleImpl. getLessOrEqualAssertion(Schema schema, ByteSequence value)ConditionResultEntryHistoricalAttribute. matchesApproximateAssertion(Assertion assertion, ByteSequence rawAssertion)ConditionResultEntryHistoricalAttribute. matchesEqualityAssertion(Assertion assertion, ByteSequence rawAssertion)ConditionResultEntryHistoricalAttribute. matchesGreaterOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)ConditionResultEntryHistoricalAttribute. matchesLessOrEqualAssertion(Assertion assertion, ByteSequence rawAssertion)ConditionResultEntryHistoricalAttribute. matchesSubstringAssertion(Assertion assertion, ByteSequence rawInitialSubstring, List<? extends ByteSequence> rawAnySubstrings, ByteSequence rawFinalSubstring)ByteStringHistoricalCsnOrderingMatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteSequence value)ByteStringHistoricalCsnRangeMatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteSequence value)Method parameters in org.opends.server.replication.plugin with type arguments of type ByteSequence Modifier and Type Method Description ConditionResultEntryHistoricalAttribute. matchesSubstringAssertion(Assertion assertion, ByteSequence rawInitialSubstring, List<? extends ByteSequence> rawAnySubstrings, ByteSequence rawFinalSubstring) -
Uses of ByteSequence in org.opends.server.util
Methods in org.opends.server.util with parameters of type ByteSequence Modifier and Type Method Description static StringStaticUtils. bytesToHex(ByteSequence b)Retrieves a string representation of the contents of the provided byte sequence using hexadecimal characters and a space between each byte.static booleanStaticUtils. needsBase64Encoding(ByteSequence valueBytes)Indicates whether the provided value needs to be base64-encoded if it is represented in LDIF form.
-