Uses of Class
org.forgerock.opendj.ldap.ByteString
Package
Description
Classes and interfaces providing I/O functionality.
Classes and interfaces providing Reactive Streams I/O transports.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for common LDAP controls.
Classes and interfaces for core LDAP requests/responses.
Classes and interfaces for constructing and querying LDAP schemas.
An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF based
KeyStore
service.-
Uses of ByteString in org.forgerock.opendj.io
Modifier and TypeMethodDescriptionAsn1Reader.readAsn1Element()
Reads the next element and returns its full encoding, which includes tag and length bytes.Asn1Reader.readBitString()
Reads the next element as a bit string having the Universal Bit String ASN.1 type tag.Asn1Reader.readBitString
(byte type) Reads the next element as a bit string having the provided type tag.Asn1Reader.readOctetString()
Reads the next element as an octet string having any tag.Asn1Reader.readOctetString
(byte type) Reads the next element as an octet string having the provided type tag.Asn1Writer.toByteString()
Returns aByteString
containing the ASN.1 encoded data and clears the contents of this writer.static ByteString
Asn1.writeAsn1Sequence
(Consumer<Asn1Writer> sequenceWriter) Writes an ASN.1 sequence using the providedConsumer
and returns the encoded bytes.Modifier and TypeMethodDescriptionstatic Asn1Reader
Asn1.getReader
(ByteString bytes) Returns an ASN.1 reader whose source is the provided byte string and having an unlimited maximum BER element size.static Asn1Reader
Asn1.getReader
(ByteString bytes, int maxElementSize) Returns an ASN.1 reader whose source is the provided byte string and having a user defined maximum BER element size.Asn1Writer.writeAsn1Element
(ByteString asn1Element) Writes exactly the provided byte string without encoding the data.Asn1Writer.writeBitString
(byte type, ByteString value) Writes the provided bit string with zero unused bits using the provided type tag.Asn1Writer.writeBitString
(ByteString value) Writes the provided bit string with zero unused bits using the Universal Bit String ASN.1 type tag.Asn1Writer.writeOctetString
(byte type, ByteString value) Writes an octet string element using the provided type tag.Asn1Writer.writeOctetString
(ByteString value) Writes an octet string element using the Universal Octet String ASN.1 type tag.Modifier and TypeMethodDescriptionAsn1Writer.writeSequenceOfOctetStrings
(Collection<ByteString> 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.writeSetOfOctetStrings
(Collection<ByteString> 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 ByteString in org.forgerock.opendj.io.rx
Modifier and TypeMethodDescriptionProxyProtocolHeader.SslTlv.encode()
Encodes the SSL information into TLV format.Modifier and TypeMethodDescriptionProxyProtocolHeader.getTlvs()
Returns Additional information contained in the header as part of the Type-Length-Value.Modifier and TypeMethodDescriptionstatic ProxyProtocolHeader.SslTlv
ProxyProtocolHeader.SslTlv.decode
(ByteString data) Decodes the SSL information contained indata
in TLV format. -
Uses of ByteString in org.forgerock.opendj.ldap
Modifier and TypeMethodDescriptionstatic ByteString[]
Returns an array containing the provided objects converted to byte strings usingvalueOfObject(Object)
.AttributeParser.asByteString()
Returns the first value, ornull
if the attribute does not contain any values.AttributeParser.asByteString
(ByteString defaultValue) Returns the first value, ordefaultValue
if the attribute does not contain any values.static ByteString
Decodes the provided base64 encoded data.static ByteString
ByteString.empty()
Returns an empty byte string.AbstractAttribute.firstValue()
Attribute.firstValue()
Returns the first attribute value in this attribute.LinkedAttribute.firstValue()
Filter.getAssertionValue()
Returns the assertion value for this comparison filter.Ava.getAttributeValue()
Returns the attribute value associated with this AVA.Rdn.getAttributeValue
(AttributeType attributeType) Returns the attribute value contained in this RDN which is associated with the provided attribute type, ornull
if this RDN does not include such an attribute value.Filter.getSubstringsFinal()
Returns the final substring assertion value for this substrings filter, ornull
if the substrings filter did not include an final substring.Filter.getSubstringsInitial()
Returns the initial substring assertion value for this substrings filter, ornull
if the substrings filter did not include an initial substring.Filter.getUnrecognizedFilterBytes()
Returns the ASN.1 content associated with this unrecognized filter.static ByteString
AbstractAttribute.normalizeValue
(Attribute attribute, ByteString value) Returns the normalized form ofvalue
normalized usingattribute
's equality matching rule.ByteStringReader.readByteString
(int length) Relative bulk read method.ByteString.subSequence
(int start) Returns a new byte string that is a subsequence of this byte string.ByteString.subSequence
(int start, int size) Returns a new byte string that is a subsequence of this byte string.AbstractAttribute.toArray()
Attribute.toArray()
Returns an array containing all of the attribute values contained in this attribute.ByteStringBuilder.toByteString()
Returns aByteString
containing the contents of this byte string builder.Retrieves a normalized byte string representation of this DN.static ByteString
ByteString.valueOfBase64
(String s) Returns a byte string containing the Base64 decoded bytes of the provided string.static ByteString
ByteString.valueOfBytes
(byte[] bytes) Returns a byte string containing the contents of the provided byte array.static ByteString
ByteString.valueOfBytes
(byte[] bytes, int offset, int length) Returns a byte string containing a subsequence of the contents of the provided byte array.static ByteString
ByteString.valueOfHex
(CharSequence hexString) Returns a byte string containing the bytes of the provided hexadecimal string.static ByteString
ByteString.valueOfInt
(int i) Returns a byte string containing the big-endian encoded bytes of the provided integer.static ByteString
ByteString.valueOfLong
(long l) Returns a byte string containing the big-endian encoded bytes of the provided long.static ByteString
ByteString.valueOfObject
(Object o) Returns a byte string representation of the provided object.static ByteString
ByteString.valueOfUtf8
(char[] chars) Returns a byte string containing the UTF-8 encoded bytes of the provided char array.static ByteString
ByteString.valueOfUtf8
(CharSequence s) Returns a byte string containing the UTF-8 encoded bytes of the provided char sequence.static ByteString
ByteString.wrap
(byte[] bytes) Returns a byte string that wraps the provided byte array.static ByteString
ByteString.wrap
(byte[] bytes, int offset, int length) Returns a byte string that wraps a subsequence of the provided byte array.Modifier and TypeMethodDescriptionstatic List<ByteString>
Returns a list containing the provided objects converted to byte strings usingvalueOfObject(Object)
.AttributeParser.asSetOfByteString
(Collection<ByteString> defaultValues) Returns the values contained in the attribute, ordefaultValues
if the attribute does not contain any values.AttributeParser.asSetOfByteString
(ByteString... defaultValues) Returns the values contained in the attribute, ordefaultValues
if the attribute does not contain any values.AttributeParser.asStream()
Returns the values as a stream ofByteString
.Functions.byteStringToBoolean()
Returns a function which parsesBoolean
values.Functions.byteStringToDn()
Returns a function which parsesDN
s using the default schema.Functions.byteStringToDn
(Schema schema) Returns a function which parsesDN
s using the provided schema.Functions.byteStringToGeneralizedTime()
Returns a function which parses generalized time strings.Functions.byteStringToInteger()
Returns a function which parsesInteger
string values.Functions.byteStringToLong()
Returns a function which parsesLong
string values.Functions.byteStringToPath()
Returns a function which parsesPath
string values.Filter.getSubstringsAny()
Returns an unmodifiable list containing any intermediate substring assertion values for this substrings filter, which may be an empty if the substrings filter did not include an intermediate substrings.abstract Iterator<ByteString>
AbstractAttribute.iterator()
Attribute.iterator()
Returns an iterator over the attribute values in this attribute.LinkedAttribute.iterator()
Modifier and TypeMethodDescriptiondefault boolean
Attribute.add
(ByteString value) Addsvalue
to this attribute if it is not already present (optional operation).boolean
LinkedAttribute.add
(ByteString value) ByteStringBuilder.appendBytes
(ByteString bytes) Appends the providedByteString
to this byte string builder.AttributeParser.asByteString
(ByteString defaultValue) Returns the first value, ordefaultValue
if the attribute does not contain any values.AttributeParser.asSetOfByteString
(ByteString... defaultValues) Returns the values contained in the attribute, ordefaultValues
if the attribute does not contain any values.static AttributeDescription
Functions.byteStringToAttributeDescription
(ByteString value, Schema schema) Parses aByteString
as anAttributeDescription
using the provided schema.static X509Certificate
Functions.byteStringToCertificate
(ByteString value) Parses aByteString
as aX509Certificate
.static Duration
Functions.byteStringToDuration
(ByteString value) Parses aByteString
as aDuration
using ourDurationUnit
parser.int
ByteString.compareTo
(ByteString o) Compares this byte string with the specified byte string for order.static String
Base64.encode
(ByteString bytes) Encodes the provided data as a base64 string.static Assertion
Assertions.equalityAssertion
(String indexId, ByteString normalizedAssertionValue, ByteString assertionValue) Returns an assertion suitable for implementing simple equality matching rules whose assertion syntax is the same as the attribute value syntax.AbstractConnection.extendedRequest
(String requestName, ByteString requestValue) AbstractConnectionWrapper.extendedRequest
(String requestName, ByteString requestValue) Requests that the Directory Server performs the provided extended request.Connection.extendedRequest
(String requestName, ByteString requestValue) Requests that the Directory Server performs the provided extended request.static boolean
AuthPassword.isEncoded
(ByteString value) Indicates whether the provided value is encoded using the auth password syntax.static boolean
UserPassword.isEncoded
(ByteString value) Indicates whether the provided value is encoded using the user password syntax.Assertion.matches
(ByteString normalizedAttributeValue) Indicates whether the provided attribute value should be considered a match for this assertion value according to the matching rule.static ByteString
AbstractAttribute.normalizeValue
(Attribute attribute, ByteString value) Returns the normalized form ofvalue
normalized usingattribute
's equality matching rule.static Assertion
Assertions.orderingAssertion
(String indexId, ByteString lower, ByteString lowerNormalized, ByteString upper, ByteString upperNormalized, boolean lowerIncluded, boolean upperIncluded) Returns an assertion suitable for implementing ordering matching rules.default Attribute
Attribute.put
(ByteString value) Addsvalue
to this attribute if it is not already present (optional operation).boolean
ByteString.startsWith
(ByteString prefix) Tests if this ByteString starts with the specified prefix.static Filter
Filter.unrecognized
(byte filterTag, ByteString filterBytes) Creates a newunrecognized
filter using the provided ASN1 filter tag and content.static Dn
Dn.valueOf
(ByteString dn) Parses the provided LDAP string representation of a DN using the default schema.Modifier and TypeMethodDescriptionboolean
AbstractAttribute.addAll
(Collection<? extends ByteString> values) default boolean
Attribute.addAll
(Collection<? extends ByteString> values) Adds all of the attribute values contained invalues
to this attribute if they are not already present (optional operation).final boolean
AbstractMapEntry.addAttribute
(Attribute attribute, Collection<? super ByteString> duplicateValues) boolean
Entries.NullEntry.addAttribute
(Attribute attribute, Collection<? super ByteString> duplicateValues) default boolean
Entry.addAttribute
(Attribute attribute, Collection<? super ByteString> duplicateValues) Ensures that this entry contains the provided attribute and values (optional operation).static Assertion
Assertions.anyOfEqualityAssertion
(String indexId, Map<ByteString, ByteString> assertions) Returns an "anyOf" assertion suitable for implementing simple equality matching rules whose assertion syntax is the same as the attribute value syntax.static Assertion
Assertions.anyOfEqualityAssertion
(String indexId, Map<ByteString, ByteString> assertions) Returns an "anyOf" assertion suitable for implementing simple equality matching rules whose assertion syntax is the same as the attribute value syntax.<T,
E extends Exception>
TAttributeParser.as
(Function<ByteString, ? extends T, E> f) Returns the first value decoded as aT
using the providedFunction
, ornull
if the attribute does not contain any values.<T,
E extends Exception>
TAttributeParser.as
(Function<ByteString, ? extends T, E> f, T defaultValue) Returns the first value decoded as aT
using the providedFunction
, ordefaultValue
if the attribute does not contain any values.AttributeParser.asSetOf
(Function<ByteString, ? extends T, E> f, Collection<? extends T> defaultValues) Returns the values decoded as a set ofT
s using the providedFunction
, ordefaultValues
if the attribute does not contain any values.AttributeParser.asSetOf
(Function<ByteString, ? extends T, E> f, T... defaultValues) Returns the values decoded as a set ofT
s using the providedFunction
, ordefaultValues
if the attribute does not contain any values.AttributeParser.asSetOfByteString
(Collection<ByteString> defaultValues) Returns the values contained in the attribute, ordefaultValues
if the attribute does not contain any values.default boolean
Entry.containsAttribute
(Attribute attribute, Collection<? super ByteString> missingValues) Returnstrue
if this entry contains all of the attribute values contained inattribute
.void
AbstractAttribute.forEachNormalizedValue
(BiConsumer<? super ByteString, ? super ByteString> action) void
AbstractAttribute.forEachNormalizedValue
(BiConsumer<? super ByteString, ? super ByteString> action) void
Attribute.forEachNormalizedValue
(BiConsumer<? super ByteString, ? super ByteString> action) Performs the provided action for each value and its associated normalized value in this attribute.void
Attribute.forEachNormalizedValue
(BiConsumer<? super ByteString, ? super ByteString> action) Performs the provided action for each value and its associated normalized value in this attribute.void
LinkedAttribute.forEachNormalizedValue
(BiConsumer<? super ByteString, ? super ByteString> action) void
LinkedAttribute.forEachNormalizedValue
(BiConsumer<? super ByteString, ? super ByteString> action) boolean
AbstractAttribute.matchesAnyNormalizedValue
(Predicate<? super ByteString> predicate) boolean
AbstractAttribute.matchesAnyNormalizedValue
(Map<ByteString, ByteString> normalizedValues) boolean
AbstractAttribute.matchesAnyNormalizedValue
(Map<ByteString, ByteString> normalizedValues) boolean
Attribute.matchesAnyNormalizedValue
(Predicate<? super ByteString> predicate) Returnstrue
if any values in this attribute match the provided predicate.boolean
Attribute.matchesAnyNormalizedValue
(Map<ByteString, ByteString> normalizedValues) Returnstrue
if any values in this attribute match at least one of the values in the provided map.boolean
Attribute.matchesAnyNormalizedValue
(Map<ByteString, ByteString> normalizedValues) Returnstrue
if any values in this attribute match at least one of the values in the provided map.boolean
LinkedAttribute.matchesAnyNormalizedValue
(Predicate<? super ByteString> predicate) boolean
LinkedAttribute.matchesAnyNormalizedValue
(Map<ByteString, ByteString> normalizedValues) boolean
LinkedAttribute.matchesAnyNormalizedValue
(Map<ByteString, ByteString> normalizedValues) static Entry
Entries.modifyEntry
(Entry entry, Modification change, Collection<? super ByteString> conflictingValues) Applies the provided modification to an entry.final boolean
AbstractMapEntry.removeAttribute
(Attribute attribute, Collection<? super ByteString> missingValues) default boolean
Entry.removeAttribute
(Attribute attribute, Collection<? super ByteString> missingValues) Removes all of the attribute values contained inattribute
from this entry if it is present (optional operation).ModifierConstructorDescriptionCreates a new byte string builder with the content of the providedByteString
. -
Uses of ByteString in org.forgerock.opendj.ldap.controls
Modifier and TypeMethodDescriptionVirtualListViewRequestControl.getAssertionValue()
Returns the assertion value that will be used to locate the target entry, if applicable.VirtualListViewRequestControl.getContextId()
Returns the context ID provided by the server in the last virtual list view response for the same set of criteria, ornull
if there was no previous virtual list view response or the server did not include a context ID in the last response.VirtualListViewResponseControl.getContextId()
Returns a server-defined octet string which, if present, should be sent back to the server by the client in a subsequent virtual list request.SimplePagedResultsControl.getCookie()
Returns the opaque cookie which is used by the server to track its position in the set of search results.AdNotificationRequestControl.getValue()
AssertionRequestControl.getValue()
AuthorizationIdentityRequestControl.getValue()
AuthorizationIdentityResponseControl.getValue()
Control.getValue()
Returns the value, if any, associated with this control.EntryChangeNotificationResponseControl.getValue()
GenericControl.getValue()
GetEffectiveRightsRequestControl.getValue()
ManageDsaItRequestControl.getValue()
MatchedValuesRequestControl.getValue()
PasswordExpiredResponseControl.getValue()
PasswordExpiringResponseControl.getValue()
PasswordPolicyRequestControl.getValue()
PasswordPolicyResponseControl.getValue()
PermissiveModifyRequestControl.getValue()
PersistentSearchRequestControl.getValue()
PostReadRequestControl.getValue()
PostReadResponseControl.getValue()
PreReadRequestControl.getValue()
PreReadResponseControl.getValue()
ProxiedAuthV1RequestControl.getValue()
ProxiedAuthV2RequestControl.getValue()
RelaxRulesRequestControl.getValue()
ServerSideSortRequestControl.getValue()
ServerSideSortResponseControl.getValue()
SimplePagedResultsControl.getValue()
SubentriesRequestControl.getValue()
SubtreeDeleteRequestControl.getValue()
VirtualListViewRequestControl.getValue()
VirtualListViewResponseControl.getValue()
Modifier and TypeMethodDescriptionVirtualListViewRequestControl.newAssertionControl
(boolean isCritical, ByteString assertionValue, int beforeCount, int afterCount, ByteString contextId) Creates a new virtual list view request control that will identify the target entry by an assertion value.static SimplePagedResultsControl
SimplePagedResultsControl.newControl
(boolean isCritical, int size, ByteString cookie) Creates a new simple paged results control with the provided criticality, size, and cookie.VirtualListViewResponseControl.newControl
(int targetPosition, int contentCount, ResultCode result, ByteString contextId) Creates a new virtual list view response control.VirtualListViewRequestControl.newOffsetControl
(boolean isCritical, int offset, int contentCount, int beforeCount, int afterCount, ByteString contextId) Creates a new virtual list view request control that will identify the target entry by a positional offset within the complete result set. -
Uses of ByteString in org.forgerock.opendj.ldap.messages
Modifier and TypeMethodDescriptionCompareRequest.getAssertionValue()
Returns the assertion value to be compared.UnknownRequest.getRawProtocolOp()
Returns the unparsed protocol-op bytes.BindResult.getServerSaslCredentials()
Returns the server SASL credentials associated with this bind result.PasswordModifyExtendedRequest.getUserIdentity()
Returns the identity of the user whose password is to be modified, ornull
if the request should be applied to the user currently associated with the session.abstract ByteString
AbstractExtendedRequest.getValue()
abstract ByteString
AbstractExtendedResult.getValue()
abstract ByteString
AbstractIntermediateResponse.getValue()
CancelExtendedRequest.getValue()
ExtendedRequest.getValue()
Returns the value, if any, associated with this extended request.ExtendedResult.getValue()
Returns the value, if any, associated with this extended result.GenericExtendedRequest.getValue()
GenericExtendedResult.getValue()
GenericIntermediateResponse.getValue()
IntermediateResponse.getValue()
Returns the value, if any, associated with this intermediate response.PasswordModifyExtendedRequest.getValue()
PasswordModifyExtendedResult.getValue()
StartTlsExtendedRequest.getValue()
WhoAmIExtendedRequest.getValue()
WhoAmIExtendedResult.getValue()
Modifier and TypeMethodDescriptionstatic UnknownRequest
Requests.newUnknownRequest
(byte protocolOpType, ByteString rawContent) Creates a new unknown request backed by the provided bytes.BindResult.setServerSaslCredentials
(ByteString credentials) Sets the server SASL credentials associated with this bind result.Modifier and TypeMethodDescriptionboolean
AddRequest.addAttribute
(Attribute attribute, Collection<? super ByteString> duplicateValues) boolean
AddRequest.containsAttribute
(Attribute attribute, Collection<? super ByteString> missingValues) boolean
AddRequest.removeAttribute
(Attribute attribute, Collection<? super ByteString> missingValues) -
Uses of ByteString in org.forgerock.opendj.ldap.schema
Modifier and TypeMethodDescriptionDecodes the JSON representation of an attribute value with this syntax.default ByteString
Decodes the JSON representation of an attribute value with this syntax.MatchingRule.normalizeAttributeValue
(ByteString value) Returns the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.MatchingRuleImpl.normalizeAttributeValue
(Schema schema, ByteString value) Retrieves the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.Modifier and TypeMethodDescriptionIndexQueryFactory.createExactMatchQuery
(AttributeDescription attributeDescription, String indexId, ByteString key) Returns a query requesting an index record matching the provided key.void
Indexer.createKeys
(ByteString value, Consumer<ByteString> keyConsumer) Generates the set of index keys for an attribute.IndexQueryFactory.createRangeMatchQuery
(AttributeDescription attributeDescription, String indexId, ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded) Returns a query requesting all index records in the specified range.final Assertion
AbstractOrderingMatchingRuleImpl.getAssertion
(Schema schema, ByteString value) MatchingRule.getAssertion
(ByteString assertionValue) Compiles the provided assertion value as anAssertion
suitable for use with equalityMatch, approxMatch and extensibleMatch search filters.MatchingRuleImpl.getAssertion
(Schema schema, ByteString assertionValue) Compiles the provided assertion value as anAssertion
suitable for use with equalityMatch, approxMatch and extensibleMatch search filters.MatchingRule.getGreaterOrEqualAssertion
(ByteString assertionValue) Compiles the provided ordering assertion value as anAssertion
suitable for use with greaterOrEqual search filters.MatchingRule.getLessOrEqualAssertion
(ByteString assertionValue) Compiles the provided ordering assertion value as anAssertion
suitable for use with lessOrEqual search filters.AbstractOrderingMatchingRuleImpl.getOrderingAssertion
(Schema schema, ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded) MatchingRule.getOrderingAssertion
(ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded) Compiles the provided ordering assertion value range as anAssertion
suitable for use with ordering search filters, including greaterOrEqual and lessOrEqual.default Assertion
MatchingRuleImpl.getOrderingAssertion
(Schema schema, ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded) Compiles the provided ordering assertion value range as anAssertion
suitable for use with ordering search filters, including greaterOrEqual and lessOrEqual.MatchingRule.getSubstringAssertion
(ByteString subInitial, List<ByteString> subAnyElements, ByteString subFinal) Compiles the provided substring assertion fragments as anAssertion
suitable for use with substrings search filters.default Assertion
MatchingRuleImpl.getSubstringAssertion
(Schema schema, ByteString subInitial, List<ByteString> subAnyElements, ByteString subFinal) Compiles the provided substring assertion fragments as anAssertion
suitable for use with substrings search filters.Indexer.keyToHumanReadableString
(ByteString key) Returns a human readable representation of the key.MatchingRule.normalizeAttributeValue
(ByteString value) Returns the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.MatchingRuleImpl.normalizeAttributeValue
(Schema schema, ByteString value) Retrieves the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.Syntax.toJson
(ByteString value) Encodes the JSON representation of an attribute value with this syntax.default Object
SyntaxImpl.toJson
(Schema schema, ByteString value) Encodes the JSON representation of an attribute value with this syntax.boolean
Syntax.valueIsAcceptable
(ByteString value, LocalizableMessageBuilder invalidReason) Indicates whether the provided value is acceptable for use in an attribute with this syntax.boolean
SyntaxImpl.valueIsAcceptable
(Schema schema, ByteString value, LocalizableMessageBuilder invalidReason) Indicates whether the provided value is acceptable for use in an attribute with this syntax.Modifier and TypeMethodDescriptionvoid
Indexer.createKeys
(ByteString value, Consumer<ByteString> keyConsumer) Generates the set of index keys for an attribute.MatchingRule.getSubstringAssertion
(ByteString subInitial, List<ByteString> subAnyElements, ByteString subFinal) Compiles the provided substring assertion fragments as anAssertion
suitable for use with substrings search filters.default Assertion
MatchingRuleImpl.getSubstringAssertion
(Schema schema, ByteString subInitial, List<ByteString> subAnyElements, ByteString subFinal) Compiles the provided substring assertion fragments as anAssertion
suitable for use with substrings search filters. -
Uses of ByteString in org.forgerock.opendj.security
Modifier and TypeMethodDescriptionExternalKeyWrappingStrategy.unwrapKey
(ByteString wrappedKey) Unwraps the providedwrapped
key.ExternalKeyWrappingStrategy.wrapKey
(ByteString unwrappedKey) Wraps the provided encoded key.Modifier and TypeMethodDescriptionScramMechanism.newScramCredential
(ByteString password) Generates a new SCRAM credential suitable for storage in the server, using an iteration count of 10000.ScramMechanism.newScramCredential
(ByteString password, int iterations) Generates a new SCRAM credential suitable for storage in the server.ScramMechanism.newScramSaslServer
(CallbackHandler callbackHandler, ByteString pepper) Returns a newSaslServer
for this SCRAM mechanism.boolean
ScramMechanism.passwordMatches
(ScramCredential scramCredential, ByteString password) Returnstrue
if the password matches the stored SCRAM credentials.ExternalKeyWrappingStrategy.unwrapKey
(ByteString wrappedKey) Unwraps the providedwrapped
key.ExternalKeyWrappingStrategy.wrapKey
(ByteString unwrappedKey) Wraps the provided encoded key.