Uses of Class
org.forgerock.opendj.ldap.ByteString
Packages that use 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.
APIs for implementing REST to LDAP gateways.
This package contains LDAP schema syntaxes and matching rules for JSON based attributes.
An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF based
KeyStore service.Contains a number of API declarations for use throughout the Directory Server.
Contains the Directory Server Sun Java System Directory Server Enterprise Edition (dseecompat) compatability access
control handler implementation.
Interfaces and classes required when implementing new storage engines for the pluggable backend.
Contains classes that represent specific LDAP controls and their values.
Contains various classes that comprise the core of the Directory Server codebase.
This package implements the Directory Server cryptographic framework, which is described in the
CrytpoManager design document.
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
Contains the implementation for various Directory Server plugins.
This package contains utilities that can are used by all the packages below org.opends.server.replication.
This package contains the part of the Multi-master replication code that works on the Directory Server side.
Contains implementations for a number of Directory Server data types.
Contains a number of interfaces that are implemented by the various types of Directory Server operations.
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 ByteString in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return ByteStringModifier 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 aByteStringcontaining the ASN.1 encoded data and clears the contents of this writer.static ByteStringAsn1.writeAsn1Sequence(Consumer<Asn1Writer> sequenceWriter) Writes an ASN.1 sequence using the providedConsumerand returns the encoded bytes.Methods in org.forgerock.opendj.io with parameters of type ByteStringModifier and TypeMethodDescriptionstatic Asn1ReaderAsn1.getReader(ByteString bytes) Returns an ASN.1 reader whose source is the provided byte string and having an unlimited maximum BER element size.static Asn1ReaderAsn1.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.Method parameters in org.forgerock.opendj.io with type arguments of type ByteStringModifier 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
Methods in org.forgerock.opendj.io.rx that return ByteStringModifier and TypeMethodDescriptionProxyProtocolHeader.SslTlv.encode()Encodes the SSL information into TLV format.Methods in org.forgerock.opendj.io.rx that return types with arguments of type ByteStringModifier and TypeMethodDescriptionProxyProtocolHeader.getTlvs()Returns Additional information contained in the header as part of the Type-Length-Value.Methods in org.forgerock.opendj.io.rx with parameters of type ByteStringModifier and TypeMethodDescriptionstatic ProxyProtocolHeader.SslTlvProxyProtocolHeader.SslTlv.decode(ByteString data) Decodes the SSL information contained indatain TLV format. -
Uses of ByteString in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return ByteStringModifier and TypeMethodDescriptionstatic ByteString[]Returns an array containing the provided objects converted to byte strings usingvalueOfObject(Object).AttributeParser.asByteString()Returns the first value, ornullif the attribute does not contain any values.AttributeParser.asByteString(ByteString defaultValue) Returns the first value, ordefaultValueif the attribute does not contain any values.static ByteStringDecodes the provided base64 encoded data.static ByteStringByteString.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, ornullif this RDN does not include such an attribute value.Filter.getSubstringsFinal()Returns the final substring assertion value for this substrings filter, ornullif the substrings filter did not include an final substring.Filter.getSubstringsInitial()Returns the initial substring assertion value for this substrings filter, ornullif the substrings filter did not include an initial substring.Filter.getUnrecognizedFilterBytes()Returns the ASN.1 content associated with this unrecognized filter.static ByteStringAbstractAttribute.normalizeValue(Attribute attribute, ByteString value) Returns the normalized form ofvaluenormalized 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 aByteStringcontaining the contents of this byte string builder.Retrieves a normalized byte string representation of this DN.static ByteStringByteString.valueOfBase64(String s) Returns a byte string containing the Base64 decoded bytes of the provided string.static ByteStringByteString.valueOfBytes(byte[] bytes) Returns a byte string containing the contents of the provided byte array.static ByteStringByteString.valueOfBytes(byte[] bytes, int offset, int length) Returns a byte string containing a subsequence of the contents of the provided byte array.static ByteStringByteString.valueOfHex(CharSequence hexString) Returns a byte string containing the bytes of the provided hexadecimal string.static ByteStringByteString.valueOfInt(int i) Returns a byte string containing the big-endian encoded bytes of the provided integer.static ByteStringByteString.valueOfLong(long l) Returns a byte string containing the big-endian encoded bytes of the provided long.static ByteStringByteString.valueOfObject(Object o) Returns a byte string representation of the provided object.static ByteStringByteString.valueOfUtf8(char[] chars) Returns a byte string containing the UTF-8 encoded bytes of the provided char array.static ByteStringByteString.valueOfUtf8(CharSequence s) Returns a byte string containing the UTF-8 encoded bytes of the provided char sequence.static ByteStringByteString.wrap(byte[] bytes) Returns a byte string that wraps the provided byte array.static ByteStringByteString.wrap(byte[] bytes, int offset, int length) Returns a byte string that wraps a subsequence of the provided byte array.Methods in org.forgerock.opendj.ldap that return types with arguments of type ByteStringModifier 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, ordefaultValuesif the attribute does not contain any values.AttributeParser.asSetOfByteString(ByteString... defaultValues) Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.AttributeParser.asStream()Returns the values as a stream ofByteString.Functions.byteStringToBoolean()Returns a function which parsesBooleanvalues.Functions.byteStringToDn()Returns a function which parsesDNs using the default schema.Functions.byteStringToDn(Schema schema) Returns a function which parsesDNs using the provided schema.Functions.byteStringToGeneralizedTime()Returns a function which parses generalized time strings.Functions.byteStringToInteger()Returns a function which parsesIntegerstring values.Functions.byteStringToLong()Returns a function which parsesLongstring values.Functions.byteStringToPath()Returns a function which parsesPathstring 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()Methods in org.forgerock.opendj.ldap with parameters of type ByteStringModifier and TypeMethodDescriptiondefault booleanAttribute.add(ByteString value) Addsvalueto this attribute if it is not already present (optional operation).booleanLinkedAttribute.add(ByteString value) ByteStringBuilder.appendBytes(ByteString bytes) Appends the providedByteStringto this byte string builder.AttributeParser.asByteString(ByteString defaultValue) Returns the first value, ordefaultValueif the attribute does not contain any values.AttributeParser.asSetOfByteString(ByteString... defaultValues) Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.static AttributeDescriptionFunctions.byteStringToAttributeDescription(ByteString value, Schema schema) Parses aByteStringas anAttributeDescriptionusing the provided schema.static X509CertificateFunctions.byteStringToCertificate(ByteString value) Parses aByteStringas aX509Certificate.static DurationFunctions.byteStringToDuration(ByteString value) Parses aByteStringas aDurationusing ourDurationUnitparser.intByteString.compareTo(ByteString o) Compares this byte string with the specified byte string for order.static StringBase64.encode(ByteString bytes) Encodes the provided data as a base64 string.static AssertionAssertions.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 booleanAuthPassword.isEncoded(ByteString value) Indicates whether the provided value is encoded using the auth password syntax.static booleanUserPassword.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 ByteStringAbstractAttribute.normalizeValue(Attribute attribute, ByteString value) Returns the normalized form ofvaluenormalized usingattribute's equality matching rule.static AssertionAssertions.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 AttributeAttribute.put(ByteString value) Addsvalueto this attribute if it is not already present (optional operation).booleanByteString.startsWith(ByteString prefix) Tests if this ByteString starts with the specified prefix.static FilterFilter.unrecognized(byte filterTag, ByteString filterBytes) Creates a newunrecognizedfilter using the provided ASN1 filter tag and content.static DnDn.valueOf(ByteString dn) Parses the provided LDAP string representation of a DN using the default schema.Method parameters in org.forgerock.opendj.ldap with type arguments of type ByteStringModifier and TypeMethodDescriptionbooleanAbstractAttribute.addAll(Collection<? extends ByteString> values) default booleanAttribute.addAll(Collection<? extends ByteString> values) Adds all of the attribute values contained invaluesto this attribute if they are not already present (optional operation).final booleanAbstractMapEntry.addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues) booleanEntries.NullEntry.addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues) default booleanEntry.addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues) Ensures that this entry contains the provided attribute and values (optional operation).static AssertionAssertions.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 AssertionAssertions.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 aTusing the providedFunction, ornullif 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 aTusing the providedFunction, ordefaultValueif 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 ofTs using the providedFunction, ordefaultValuesif the attribute does not contain any values.AttributeParser.asSetOf(Function<ByteString, ? extends T, E> f, T... defaultValues) Returns the values decoded as a set ofTs using the providedFunction, ordefaultValuesif the attribute does not contain any values.AttributeParser.asSetOfByteString(Collection<ByteString> defaultValues) Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.default booleanEntry.containsAttribute(Attribute attribute, Collection<? super ByteString> missingValues) Returnstrueif this entry contains all of the attribute values contained inattribute.voidAbstractAttribute.forEachNormalizedValue(BiConsumer<? super ByteString, ? super ByteString> action) voidAbstractAttribute.forEachNormalizedValue(BiConsumer<? super ByteString, ? super ByteString> action) voidAttribute.forEachNormalizedValue(BiConsumer<? super ByteString, ? super ByteString> action) Performs the provided action for each value and its associated normalized value in this attribute.voidAttribute.forEachNormalizedValue(BiConsumer<? super ByteString, ? super ByteString> action) Performs the provided action for each value and its associated normalized value in this attribute.voidLinkedAttribute.forEachNormalizedValue(BiConsumer<? super ByteString, ? super ByteString> action) voidLinkedAttribute.forEachNormalizedValue(BiConsumer<? super ByteString, ? super ByteString> action) booleanAbstractAttribute.matchesAnyNormalizedValue(Predicate<? super ByteString> predicate) booleanAbstractAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) booleanAbstractAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) booleanAttribute.matchesAnyNormalizedValue(Predicate<? super ByteString> predicate) Returnstrueif any values in this attribute match the provided predicate.booleanAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) Returnstrueif any values in this attribute match at least one of the values in the provided map.booleanAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) Returnstrueif any values in this attribute match at least one of the values in the provided map.booleanLinkedAttribute.matchesAnyNormalizedValue(Predicate<? super ByteString> predicate) booleanLinkedAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) booleanLinkedAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) static EntryEntries.modifyEntry(Entry entry, Modification change, Collection<? super ByteString> conflictingValues) Applies the provided modification to an entry.final booleanAbstractMapEntry.removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues) default booleanEntry.removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues) Removes all of the attribute values contained inattributefrom this entry if it is present (optional operation).Constructors in org.forgerock.opendj.ldap with parameters of type ByteStringModifierConstructorDescriptionCreates a new byte string builder with the content of the providedByteString. -
Uses of ByteString in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls that return ByteStringModifier 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, ornullif 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()Methods in org.forgerock.opendj.ldap.controls with parameters of type ByteStringModifier 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 SimplePagedResultsControlSimplePagedResultsControl.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
Methods in org.forgerock.opendj.ldap.messages that return ByteStringModifier 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, ornullif the request should be applied to the user currently associated with the session.abstract ByteStringAbstractExtendedRequest.getValue()abstract ByteStringAbstractExtendedResult.getValue()abstract ByteStringAbstractIntermediateResponse.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()Methods in org.forgerock.opendj.ldap.messages with parameters of type ByteStringModifier and TypeMethodDescriptionstatic UnknownRequestRequests.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.Method parameters in org.forgerock.opendj.ldap.messages with type arguments of type ByteStringModifier and TypeMethodDescriptionbooleanAddRequest.addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues) booleanAddRequest.containsAttribute(Attribute attribute, Collection<? super ByteString> missingValues) booleanAddRequest.removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues) -
Uses of ByteString in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return ByteStringModifier and TypeMethodDescriptionDecodes the JSON representation of an attribute value with this syntax.default ByteStringDecodes 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.Methods in org.forgerock.opendj.ldap.schema with parameters of type ByteStringModifier and TypeMethodDescriptionIndexQueryFactory.createExactMatchQuery(AttributeDescription attributeDescription, String indexId, ByteString key) Returns a query requesting an index record matching the provided key.voidIndexer.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 AssertionAbstractOrderingMatchingRuleImpl.getAssertion(Schema schema, ByteString value) MatchingRule.getAssertion(ByteString assertionValue) Compiles the provided assertion value as anAssertionsuitable for use with equalityMatch, approxMatch and extensibleMatch search filters.MatchingRuleImpl.getAssertion(Schema schema, ByteString assertionValue) Compiles the provided assertion value as anAssertionsuitable for use with equalityMatch, approxMatch and extensibleMatch search filters.MatchingRule.getGreaterOrEqualAssertion(ByteString assertionValue) Compiles the provided ordering assertion value as anAssertionsuitable for use with greaterOrEqual search filters.MatchingRule.getLessOrEqualAssertion(ByteString assertionValue) Compiles the provided ordering assertion value as anAssertionsuitable 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 anAssertionsuitable for use with ordering search filters, including greaterOrEqual and lessOrEqual.default AssertionMatchingRuleImpl.getOrderingAssertion(Schema schema, ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded) Compiles the provided ordering assertion value range as anAssertionsuitable 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 anAssertionsuitable for use with substrings search filters.default AssertionMatchingRuleImpl.getSubstringAssertion(Schema schema, ByteString subInitial, List<ByteString> subAnyElements, ByteString subFinal) Compiles the provided substring assertion fragments as anAssertionsuitable 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 ObjectSyntaxImpl.toJson(Schema schema, ByteString value) Encodes the JSON representation of an attribute value with this syntax.booleanSyntax.valueIsAcceptable(ByteString value, LocalizableMessageBuilder invalidReason) Indicates whether the provided value is acceptable for use in an attribute with this syntax.booleanSyntaxImpl.valueIsAcceptable(Schema schema, ByteString 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 ByteStringModifier and TypeMethodDescriptionvoidIndexer.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 anAssertionsuitable for use with substrings search filters.default AssertionMatchingRuleImpl.getSubstringAssertion(Schema schema, ByteString subInitial, List<ByteString> subAnyElements, ByteString subFinal) Compiles the provided substring assertion fragments as anAssertionsuitable for use with substrings search filters. -
Uses of ByteString in org.forgerock.opendj.rest2ldap
Method parameters in org.forgerock.opendj.rest2ldap with type arguments of type ByteStringModifier and TypeMethodDescriptionSimplePropertyMapper.decoder(Function<ByteString, ?, ? extends Exception> f) Sets the decoder which will be used for converting LDAP attribute values to JSON values.SimplePropertyMapper.encoder(Function<Object, ByteString, ? extends Exception> f) Sets the encoder which will be used for converting JSON values to LDAP attribute values. -
Uses of ByteString in org.forgerock.opendj.rest2ldap.schema
Methods in org.forgerock.opendj.rest2ldap.schema that return ByteStringModifier and TypeMethodDescriptionstatic ByteStringJsonSchema.jsonToByteString(Object value) Converts a JSONObjectto aByteStringrepresentation.static ByteStringJsonSchema.nameAndJsonToByteString(ByteString nameAndJsonValue, Dn newName) static ByteStringJsonSchema.nameAndJsonToByteString(Dn name, Object json) Methods in org.forgerock.opendj.rest2ldap.schema with parameters of type ByteStringModifier and TypeMethodDescriptionstatic ObjectJsonSchema.byteStringToJson(ByteString value) Parses the provided byte string as a JSON value.JsonSchema.byteStringToNameAndJson(Schema schema, ByteString value) Decodes the provided value as a Name and JSON value.static DnJsonSchema.byteStringToNameWithoutJson(Schema schema, ByteString value) Decodes the provided value as a Name and JSON value but without decoding the JSON value.static ByteStringJsonSchema.nameAndJsonToByteString(ByteString nameAndJsonValue, Dn newName) -
Uses of ByteString in org.forgerock.opendj.security
Methods in org.forgerock.opendj.security that return ByteStringModifier and TypeMethodDescriptionExternalKeyWrappingStrategy.unwrapKey(ByteString wrappedKey) Unwraps the providedwrappedkey.ExternalKeyWrappingStrategy.wrapKey(ByteString unwrappedKey) Wraps the provided encoded key.Methods in org.forgerock.opendj.security with parameters of type ByteStringModifier 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 newSaslServerfor this SCRAM mechanism.booleanScramMechanism.passwordMatches(ScramCredential scramCredential, ByteString password) Returnstrueif the password matches the stored SCRAM credentials.ExternalKeyWrappingStrategy.unwrapKey(ByteString wrappedKey) Unwraps the providedwrappedkey.ExternalKeyWrappingStrategy.wrapKey(ByteString unwrappedKey) Wraps the provided encoded key. -
Uses of ByteString in org.opends.server.api
Methods in org.opends.server.api that return ByteStringModifier and TypeMethodDescriptionPasswordStorageScheme.encodeAuthPassword(ByteString plaintext) Encodes the provided plaintext password for this storage scheme using the authentication password syntax defined in RFC 3112.abstract ByteStringPasswordStorageScheme.encodePassword(ByteString plaintext) Encodes the provided plaintext password for this storage scheme, without the name of the associated scheme.PasswordStorageScheme.encodePasswordWithScheme(ByteString plaintext) Encodes the provided plaintext password for this storage scheme, prepending the name of the scheme in curly braces.abstract ByteStringPasswordGenerator.generatePassword(Entry userEntry) Generates a password for the user whose account is contained in the specified entry.PasswordStorageScheme.getAuthPasswordPlaintextValue(String authInfo, String authValue) Retrieves the original plaintext value for the provided password stored in the authPassword syntax.PasswordStorageScheme.getPlaintextValue(ByteString storedPassword) Retrieves the original plaintext value for the provided stored password.Methods in org.opends.server.api with parameters of type ByteStringModifier and TypeMethodDescriptionbooleanPasswordStorageScheme.authPasswordMatches(ByteString 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.PasswordStorageScheme.encodeAuthPassword(ByteString plaintext) Encodes the provided plaintext password for this storage scheme using the authentication password syntax defined in RFC 3112.abstract ByteStringPasswordStorageScheme.encodePassword(ByteString plaintext) Encodes the provided plaintext password for this storage scheme, without the name of the associated scheme.PasswordStorageScheme.encodePasswordWithScheme(ByteString plaintext) Encodes the provided plaintext password for this storage scheme, prepending the name of the scheme in curly braces.PasswordStorageScheme.getPlaintextValue(ByteString storedPassword) Retrieves the original plaintext value for the provided stored password.booleanPasswordStorageScheme.isRehashNeeded(ByteString storedPassword) Indicates whether the encoded password needs to be rehashed because the password storage scheme configuration changed.abstract booleanPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) Indicates whether the provided password is acceptable for use by the specified user.booleanAuthenticationPolicyState.passwordMatches(ByteString password) Returnstrueif the provided password value matches any of the user's passwords.abstract booleanAuthenticationPolicyState.passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword) Returnstrueif the provided password value matches any of the user's passwords.abstract booleanPasswordStorageScheme.passwordMatches(ByteString plaintextPassword, ByteString storedPassword) Indicates whether the provided plaintext password included in a bind request matches the given stored value.Method parameters in org.opends.server.api with type arguments of type ByteStringModifier and TypeMethodDescriptionabstract booleanPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) Indicates whether the provided password is acceptable for use by the specified user.abstract booleanAuthenticationPolicyState.passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword) Returnstrueif the provided password value matches any of the user's passwords. -
Uses of ByteString in org.opends.server.authorization.dseecompat
Methods in org.opends.server.authorization.dseecompat that return ByteStringModifier and TypeMethodDescriptionAciTargetMatchContext.getCurrentAttributeValue()The current attribute type value being evaluated.Methods in org.opends.server.authorization.dseecompat with parameters of type ByteStringModifier and TypeMethodDescriptionvoidAciTargetMatchContext.setCurrentAttributeValue(ByteString v) Set the attribute value to be evaluated.Method parameters in org.opends.server.authorization.dseecompat with type arguments of type ByteStringModifier and TypeMethodDescriptionvoidPatternRDN.addValue(String type, List<ByteString> valuePattern, String dnString) Add another attribute-value pair to the pattern. -
Uses of ByteString in org.opends.server.backends.pluggable.spi
Methods in org.opends.server.backends.pluggable.spi that return ByteStringModifier and TypeMethodDescriptionUpdateFunction.computeNewValue(ByteString oldValue) Computes the new value for a record based on the record's existing content.Importer.read(TreeName treeName, ByteString key) Reads the record's value associated to the provided key, in the tree whose name is provided.default ByteStringReadableTransaction.read(TreeName treeName, ByteString key) Reads the record's value associated to the provided key, in the tree whose name is provided.Methods in org.opends.server.backends.pluggable.spi that return types with arguments of type ByteStringModifier and TypeMethodDescriptionImporter.openCursor(TreeName treeName) Opens a cursor on the tree whose name is provided.Importer.openCursor(TreeName treeName) Opens a cursor on the tree whose name is provided.default Cursor<ByteString,ByteString> ReadableTransaction.openCursor(TreeName treeName, ReadableTransaction.ReadOption... options) Opens a non-positioned cursor on the tree whose name is provided.default Cursor<ByteString,ByteString> ReadableTransaction.openCursor(TreeName treeName, ReadableTransaction.ReadOption... options) Opens a non-positioned cursor on the tree whose name is provided.Methods in org.opends.server.backends.pluggable.spi with parameters of type ByteStringModifier and TypeMethodDescriptionUpdateFunction.computeNewValue(ByteString oldValue) Computes the new value for a record based on the record's existing content.default booleanWriteableTransaction.delete(TreeName treeName, ByteString key) Deletes the record with the provided key, in the tree whose name is provided.voidImporter.put(TreeName treeName, ByteString key, ByteString value) Creates a record with the provided key and value in the tree identified by the provided name.default voidWriteableTransaction.put(TreeName treeName, ByteString key, ByteString value) Adds a record with the provided key and value, replacing any existing record having the same key.Importer.read(TreeName treeName, ByteString key) Reads the record's value associated to the provided key, in the tree whose name is provided.default ByteStringReadableTransaction.read(TreeName treeName, ByteString key) Reads the record's value associated to the provided key, in the tree whose name is provided.default booleanWriteableTransaction.update(TreeName treeName, ByteString 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 ByteString in org.opends.server.controls
Methods in org.opends.server.controls that return ByteString -
Uses of ByteString in org.opends.server.core
Methods in org.opends.server.core that return ByteStringModifier and TypeMethodDescriptionPasswordPolicyState.generatePassword()Generates a new password for the user.CompareOperation.getAssertionValue()ExtendedOperation.getRequestValue()Retrieves the value for the request associated with this extended operation.ExtendedOperation.getResponseValue()Retrieves the value to include in the response to the client.BindOperation.getSASLCredentials()BindOperation.getServerSASLCredentials()BindOperation.getSimplePassword()Methods in org.opends.server.core that return types with arguments of type ByteStringModifier and TypeMethodDescriptionPasswordPolicyState.encodePassword(ByteString password) Encodes the provided password using the default storage schemes (using the appropriate syntax for the password attribute).PasswordPolicyState.getClearPasswords()Retrieves a list of the clear-text passwords for the user.ModifyOperation.getCurrentPasswords()Retrieves the set of clear-text current passwords for the user, if available.ModifyOperation.getNewPasswords()Retrieves the set of clear-text new passwords for the user, if available.PasswordPolicyState.getPasswordValues()Retrieves the unmodifiable set of values for the password attribute from the user entry.Methods in org.opends.server.core with parameters of type ByteStringModifier and TypeMethodDescriptionstatic booleanPasswordVerifier.authPasswordMatches(ByteString plaintextPassword, String encodedPassword, ServerContext serverContext) Indicates whether the provided plaintext password matches the encoded password using the authentication password syntax.static booleanPasswordVerifier.authPasswordMatches(PasswordStorageScheme<?> scheme, ByteString plaintextPassword, AuthPassword password) Indicates whether the provided plaintext password matches the encoded password using the authentication password syntax.PasswordPolicyState.encodePassword(ByteString password) Encodes the provided password using the default storage schemes (using the appropriate syntax for the password attribute).voidPasswordPolicyState.handleDeprecatedStorageSchemes(ByteString password) Performs any processing that may be necessary to remove deprecated storage schemes from the user's entry that match the provided password and re-encodes them using the default schemes.final booleanPasswordPolicy.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason, PasswordValidator<?> passwordInHistoryValidator) Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControlto the operation's response if requested.booleanPasswordPolicyState.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControlto the operation's response if requested.booleanPasswordPolicyState.passwordIsPreEncoded(ByteString passwordValue) Indicates whether the provided password value is pre-encoded.booleanPasswordPolicyState.passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword) booleanPasswordPolicyState.passwordMatches(ByteString password, Entry entry) Returnstrueif the provided password value matches any of the user's passwords in the given entry.booleanPasswordPolicyState.passwordMatches(ByteString password, Entry entry, AtomicReference<ByteString> matchedEncodedPassword) Returnstrueif the provided password value matches any of the user's passwords in the given entry.booleanPasswordVerifier.passwordMatches(ByteString plaintextPassword, String encodedPassword, ServerContext serverContext) Indicates whether the provided plaintext password matches the encoded password.voidBindOperation.runFakePasswordMatches(Dn bindDn, ByteString password) When using cost based hashes, ensure similar response times when login with non-existing vs.voidCompareOperation.setAssertionValue(ByteString assertionValue) Specifies the assertion value for this compare operation.voidExtendedOperation.setRequestValue(ByteString requestValue) Specifies the value for the request associated with this extended operation.voidExtendedOperation.setResponseValue(ByteString responseValue) Specifies the value to include in the response to the client.voidBindOperation.setSASLCredentials(String saslMechanism, ByteString saslCredentials) voidBindOperation.setServerSASLCredentials(ByteString serverSASLCredentials) voidBindOperation.setSimplePassword(ByteString simplePassword) static booleanPasswordVerifier.userPasswordMatches(ByteString plaintextPassword, String encodedPassword, ServerContext serverContext) Indicates whether the provided plaintext password matches the encoded password using the user password syntax.static booleanPasswordVerifier.userPasswordMatches(PasswordStorageScheme<?> scheme, ByteString plaintextPassword, UserPassword password) Indicates whether the provided plaintext password matches the encoded password using the user password syntax.Method parameters in org.opends.server.core with type arguments of type ByteStringModifier and TypeMethodDescriptionbooleanPasswordPolicyState.isPasswordInHistory(List<ByteString> newPasswords, boolean validatePasswords) Indicates whether password history information is maintained for this user, and whether any of the provided passwords is equal to any of the current passwords, or any of the passwords in the history.final booleanPasswordPolicy.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason, PasswordValidator<?> passwordInHistoryValidator) Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControlto the operation's response if requested.booleanPasswordPolicyState.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) Indicates whether the provided password appears to be acceptable according to the password validators, and adds aPasswordQualityAdviceResponseControlto the operation's response if requested.booleanPasswordPolicyState.passwordMatches(ByteString password, AtomicReference<ByteString> matchedEncodedPassword) booleanPasswordPolicyState.passwordMatches(ByteString password, Entry entry, AtomicReference<ByteString> matchedEncodedPassword) Returnstrueif the provided password value matches any of the user's passwords in the given entry. -
Uses of ByteString in org.opends.server.crypto
Methods in org.opends.server.crypto that return ByteStringModifier and TypeMethodDescriptionCryptoManager.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 ByteStringModifier and TypeMethodDescriptionCryptoManager.CipherService.useKeysFromEncoding(ByteString wrappedKeys) Use the provided encoded secret keys for cryptographic operations. -
Uses of ByteString in org.opends.server.extensions
Methods in org.opends.server.extensions that return ByteStringModifier and TypeMethodDescriptionPKCS5S2PasswordStorageScheme.encodeAuthPassword(ByteString plaintext) Argon2PasswordStorageScheme.encodePassword(ByteString plaintext) Base64PasswordStorageScheme.encodePassword(ByteString plaintext) BcryptPasswordStorageScheme.encodePassword(ByteString plaintext) ClearPasswordStorageScheme.encodePassword(ByteString plaintext) CryptPasswordStorageScheme.encodePassword(ByteString plaintext) PKCS5S2PasswordStorageScheme.encodePassword(ByteString plaintext) static ByteStringGetConnectionIDExtendedOperation.encodeResponseValue(long connectionID) Encodes the provided connection ID in an octet string suitable for use as the value for this extended operation.RandomPasswordGenerator.generatePassword(Entry userEntry) Generates a password for the user whose account is contained in the specified entry.Base64PasswordStorageScheme.getPlaintextValue(ByteString storedPassword) ClearPasswordStorageScheme.getPlaintextValue(ByteString storedPassword) Methods in org.opends.server.extensions with parameters of type ByteStringModifier and TypeMethodDescriptionbooleanPKCS5S2PasswordStorageScheme.authPasswordMatches(ByteString plaintextPassword, String authInfo, String authValue) static longGetConnectionIDExtendedOperation.decodeResponseValue(ByteString responseValue) Decodes the provided ASN.1 octet string to extract the connection ID.PKCS5S2PasswordStorageScheme.encodeAuthPassword(ByteString plaintext) Argon2PasswordStorageScheme.encodePassword(ByteString plaintext) Base64PasswordStorageScheme.encodePassword(ByteString plaintext) BcryptPasswordStorageScheme.encodePassword(ByteString plaintext) ClearPasswordStorageScheme.encodePassword(ByteString plaintext) CryptPasswordStorageScheme.encodePassword(ByteString plaintext) PKCS5S2PasswordStorageScheme.encodePassword(ByteString plaintext) Base64PasswordStorageScheme.getPlaintextValue(ByteString storedPassword) ClearPasswordStorageScheme.getPlaintextValue(ByteString storedPassword) booleanArgon2PasswordStorageScheme.isRehashNeeded(ByteString storedPassword) booleanBcryptPasswordStorageScheme.isRehashNeeded(ByteString storedPassword) booleanAttributeValuePasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanCharacterSetPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanDictionaryPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanLengthBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanRepeatedCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanSimilarityBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanUniqueCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanArgon2PasswordStorageScheme.passwordMatches(ByteString plaintextPassword, ByteString storedPassword) booleanBase64PasswordStorageScheme.passwordMatches(ByteString plaintextPassword, ByteString storedPassword) booleanBcryptPasswordStorageScheme.passwordMatches(ByteString plaintextPassword, ByteString storedPassword) booleanClearPasswordStorageScheme.passwordMatches(ByteString plaintextPassword, ByteString storedPassword) booleanCryptPasswordStorageScheme.passwordMatches(ByteString plaintextPassword, ByteString storedPassword) booleanPKCS5S2PasswordStorageScheme.passwordMatches(ByteString plaintextPassword, ByteString storedPassword) Method parameters in org.opends.server.extensions with type arguments of type ByteStringModifier and TypeMethodDescriptionbooleanAttributeValuePasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanCharacterSetPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanDictionaryPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanLengthBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanRepeatedCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanSimilarityBasedPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) booleanUniqueCharactersPasswordValidator.passwordIsAcceptable(ByteString newPassword, Set<ByteString> currentPasswords, Operation operation, Entry userEntry, LocalizableMessageBuilder invalidReason) -
Uses of ByteString in org.opends.server.plugins
Methods in org.opends.server.plugins that return ByteString -
Uses of ByteString in org.opends.server.replication.common
Methods in org.opends.server.replication.common that return ByteStringModifier and TypeMethodDescriptionCSN.toByteString()Encodes this CSN as a byte string.CSN.toByteString(CSN.CsnVersion version) Encodes this CSN as a byte string according to the given CSN version.Methods in org.opends.server.replication.common with parameters of type ByteStringModifier and TypeMethodDescriptionstatic CSNCSN.valueOf(ByteString bs) Decodes the providedCSN.toByteString(CsnVersion)representation of a CSN.static GenerationIdGenerationId.valueOf(ByteString generationId) Returns a generation id object having the provided value encoded as a ByteString. -
Uses of ByteString in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin that return ByteStringModifier and TypeMethodDescriptionEntryHistoricalAttribute.firstValue()AttrValueHistorical.getAttributeValue()Get the attributeValue for which this object was generated.ReplicationRepairRequestControl.getValue()HistoricalCsnOrderingMatchingRuleImpl.normalizeAttributeValue(Schema schema, ByteString value) HistoricalCsnRangeMatchingRuleImpl.normalizeAttributeValue(Schema schema, ByteString value) EntryHistoricalAttribute.toArray()Methods in org.opends.server.replication.plugin that return types with arguments of type ByteStringModifier and TypeMethodDescriptionEntryHistoricalAttribute.iterator()EntryHistoricalAttribute.parallelStream()EntryHistoricalAttribute.spliterator()EntryHistoricalAttribute.stream()Methods in org.opends.server.replication.plugin with parameters of type ByteStringModifier and TypeMethodDescriptionbooleanEntryHistoricalAttribute.add(ByteString value) voidEntryHistorical.addAttrHistoricalAddValue(AttributeDescription attributeDescription, CSN csn, ByteString value) Updates this entry historical information with the provided add modification.voidEntryHistorical.addAttrHistoricalDeleteValue(AttributeDescription attributeDescription, CSN csn, ByteString value) Updates this entry historical information with the provided delete modification.voidEntryHistorical.addAttrHistoricalReplaceValue(AttributeDescription attributeDescription, CSN csn, ByteString value) Updates this entry historical information with the provided replace modification.abstract booleanAttrHistorical.containsAddedValue(ByteString normalizedValue, ByteString value) Returnstrueif this historical information contains add or replace meta-data for the provided attribute value.booleanAttrHistoricalMultiple.containsAddedValue(ByteString normalizedValue, ByteString value) booleanAttrHistoricalSingle.containsAddedValue(ByteString normalizedValue, ByteString value) HistoricalCsnOrderingMatchingRuleImpl.getAssertion(Schema schema, ByteString value) HistoricalCsnRangeMatchingRuleImpl.getAssertion(Schema schema, ByteString assertionValue) Represents a filter for a CSN range on a replica id.HistoricalCsnOrderingMatchingRuleImpl.getOrderingAssertion(Schema schema, ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded) HistoricalCsnOrderingMatchingRuleImpl.normalizeAttributeValue(Schema schema, ByteString value) HistoricalCsnRangeMatchingRuleImpl.normalizeAttributeValue(Schema schema, ByteString value) Method parameters in org.opends.server.replication.plugin with type arguments of type ByteStringModifier and TypeMethodDescriptionbooleanEntryHistoricalAttribute.addAll(Collection<? extends ByteString> values) voidEntryHistoricalAttribute.forEach(Consumer<? super ByteString> action) voidEntryHistoricalAttribute.forEachNormalizedValue(BiConsumer<? super ByteString, ? super ByteString> action) voidEntryHistoricalAttribute.forEachNormalizedValue(BiConsumer<? super ByteString, ? super ByteString> action) booleanEntryHistoricalAttribute.matchesAnyNormalizedValue(Predicate<? super ByteString> predicate) booleanEntryHistoricalAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) booleanEntryHistoricalAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) booleanEntryHistoricalAttribute.removeIf(Predicate<? super ByteString> filter) -
Uses of ByteString in org.opends.server.types
Methods in org.opends.server.types that return types with arguments of type ByteStringMethod parameters in org.opends.server.types with type arguments of type ByteStringModifier and TypeMethodDescriptionstatic Map<AccountStatusNotificationProperty,List<String>> AccountStatusNotification.createProperties(PasswordPolicyState pwPolicyState, boolean tempLocked, int timeToExpiration, List<ByteString> oldPasswords, List<ByteString> newPasswords) Creates a set of account status notification properties from the provided information.booleanCompactAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) booleanCompactAttribute.matchesAnyNormalizedValue(Map<ByteString, ByteString> normalizedValues) -
Uses of ByteString in org.opends.server.types.operation
Methods in org.opends.server.types.operation that return ByteStringModifier and TypeMethodDescriptionPostOperationCompareOperation.getAssertionValue()Retrieves the assertion value for this compare operation.PostResponseCompareOperation.getAssertionValue()Retrieves the assertion value for this compare operation.PreOperationCompareOperation.getAssertionValue()Retrieves the assertion value for this compare operation.PreParseCompareOperation.getAssertionValue()Retrieves the assertion value for this compare operation.PostOperationExtendedOperation.getRequestValue()Retrieves the value for the request associated with this extended operation.PostResponseExtendedOperation.getRequestValue()Retrieves the value for the request associated with this extended operation.PreOperationExtendedOperation.getRequestValue()Retrieves the value for the request associated with this extended operation.PreParseExtendedOperation.getRequestValue()Retrieves the value for the request associated with this extended operation.PostOperationExtendedOperation.getResponseValue()Retrieves the value to include in the response to the client.PostResponseExtendedOperation.getResponseValue()Retrieves the value to include in the response to the client.PostOperationBindOperation.getSASLCredentials()Retrieves the SASL credentials for this bind operation.PostResponseBindOperation.getSASLCredentials()Retrieves the SASL credentials for this bind operation.PreOperationBindOperation.getSASLCredentials()Retrieves the SASL credentials for this bind operation.PreParseBindOperation.getSASLCredentials()Retrieves the SASL credentials for this bind operation.PostOperationBindOperation.getServerSASLCredentials()Retrieves the set of server SASL credentials to include in the bind response.PostResponseBindOperation.getServerSASLCredentials()Retrieves the set of server SASL credentials to include in the bind response.PostOperationBindOperation.getSimplePassword()Retrieves the simple authentication password for this bind operation.PostResponseBindOperation.getSimplePassword()Retrieves the simple authentication password for this bind operation.PreOperationBindOperation.getSimplePassword()Retrieves the simple authentication password for this bind operation.PreParseBindOperation.getSimplePassword()Retrieves the simple authentication password for this bind operation.Methods in org.opends.server.types.operation that return types with arguments of type ByteStringModifier and TypeMethodDescriptionPostCommitModifyOperation.getCurrentPasswords()Retrieves the set of clear-text current passwords for the user, if available.PostOperationModifyOperation.getCurrentPasswords()Retrieves the set of clear-text current passwords for the user, if available.PostResponseModifyOperation.getCurrentPasswords()Retrieves the set of clear-text current passwords for the user, if available.PostSynchronizationModifyOperation.getCurrentPasswords()Retrieves the set of clear-text current passwords for the user, if available.PreOperationModifyOperation.getCurrentPasswords()Retrieves the set of clear-text current passwords for the user, if available.PostCommitModifyOperation.getNewPasswords()Retrieves the set of clear-text new passwords for the user, if available.PostOperationModifyOperation.getNewPasswords()Retrieves the set of clear-text new passwords for the user, if available.PostResponseModifyOperation.getNewPasswords()Retrieves the set of clear-text new passwords for the user, if available.PostSynchronizationModifyOperation.getNewPasswords()Retrieves the set of clear-text new passwords for the user, if available.PreOperationModifyOperation.getNewPasswords()Retrieves the set of clear-text new passwords for the user, if available.Methods in org.opends.server.types.operation with parameters of type ByteStringModifier and TypeMethodDescriptionvoidPreOperationCompareOperation.setAssertionValue(ByteString assertionValue) Specifies the assertion value for this compare operation.voidPreParseCompareOperation.setAssertionValue(ByteString assertionValue) Specifies the assertion value for this compare operation.voidPreParseExtendedOperation.setRequestValue(ByteString requestValue) Specifies the value for the request associated with this extended operation.voidPostOperationExtendedOperation.setResponseValue(ByteString responseValue) Specifies the value to include in the response to the client.voidPreOperationExtendedOperation.setResponseValue(ByteString responseValue) Specifies the value to include in the response to the client.voidPreParseExtendedOperation.setResponseValue(ByteString responseValue) Specifies the value to include in the response to the client.voidPreParseBindOperation.setSASLCredentials(String saslMechanism, ByteString saslCredentials) Specifies the SASL credentials for this bind operation.voidPostOperationBindOperation.setServerSASLCredentials(ByteString serverSASLCredentials) Specifies the set of server SASL credentials to include in the bind response.voidPreOperationBindOperation.setServerSASLCredentials(ByteString serverSASLCredentials) Specifies the set of server SASL credentials to include in the bind response.voidPreParseBindOperation.setServerSASLCredentials(ByteString serverSASLCredentials) Specifies the set of server SASL credentials to include in the bind response.voidPreParseBindOperation.setSimplePassword(ByteString simplePassword) Specifies the simple authentication password for this bind operation. -
Uses of ByteString in org.opends.server.util
Fields in org.opends.server.util declared as ByteStringModifier and TypeFieldDescriptionstatic final ByteStringServerConstants.FALSE_VALUEThe normalized false value.static final ByteStringServerConstants.OC_COLLECTIVE_ATTR_SUBENTRY_BSThe name of the RFC 3671 "collectiveAttributeSubentry" objectclass (which is a special type of objectclass that makes a kind of shared attributes subentry), formatted in all lowercase.static final ByteStringServerConstants.OC_INHERITED_COLLECTIVE_ATTR_SUBENTRY_BSThe name of the "inheritedCollectiveAttributeSubentry" objectclass (which is a special type of objectclass that makes a kind of COS template subentry), formatted in all lowercase.static final ByteStringServerConstants.OC_INHERITED_FROM_DN_COLLECTIVE_ATTR_SUBENTRY_BSThe name of the "inheritedFromDNCollectiveAttributeSubentry" objectclass (which is a special type of objectclass that makes a kind of indirect COS template subentry), formatted in all lowercase.static final ByteStringServerConstants.OC_INHERITED_FROM_RDN_COLLECTIVE_ATTR_SUBENTRY_BSThe name of the "inheritedFromRDNCollectiveAttributeSubentry" objectclass (which is a special type of objectclass that makes a kind of classic COS template subentry), formatted in all lowercase.static final ByteStringServerConstants.OC_LDAP_SUBENTRY_BSByteStringversion ofServerConstants.OC_LDAP_SUBENTRY_LC.static final ByteStringServerConstants.OC_PASSWORD_POLICY_SUBENTRY_BSThe name of the OpenDJ extended password policy objectclass, formatted in all lowercase.static final ByteStringServerConstants.OC_PWD_POLICY_SUBENTRY_BSThe name of the LDAP Password Policy Internet-Draft "pwdPolicy" objectclass, formatted in all lowercase.static final ByteStringServerConstants.OC_SUBENTRY_BSByteString version ofServerConstants.OC_SUBENTRY.static final ByteStringServerConstants.TRUE_VALUEThe normalized true value.Methods in org.opends.server.util with parameters of type ByteStringModifier and TypeMethodDescriptionstatic FilterStaticUtils.anyEqualsTo(Collection<AttributeType> attributeTypes, ByteString value) Builds an "or" filter where one of the provided attribute types must match the provided value.static StringStaticUtils.bytesToHex(ByteString b) Retrieves a string representation of the contents of the provided byte string using hexadecimal characters and a space between each byte.static booleanStaticUtils.needsBase64Encoding(ByteString valueBytes) Indicates whether the provided value needs to be base64-encoded if it is represented in LDIF form.