Uses of Class
org.forgerock.opendj.ldap.ByteString
-
Packages that use ByteString Package Description org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.forgerock.opendj.io.rx Classes and interfaces providing Reactive Streams I/O transports.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.controls Classes and interfaces for common LDAP controls.org.forgerock.opendj.ldap.messages Classes and interfaces for core LDAP requests/responses.org.forgerock.opendj.ldap.schema Classes and interfaces for constructing and querying LDAP schemas.org.forgerock.opendj.security An LDAP based security provider having the name "OpenDJ" and exposing an LDAP/LDIF basedKeyStoreservice. -
-
Uses of ByteString in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return ByteString Modifier and Type Method Description ByteStringAsn1Reader. readAsn1Element()Reads the next element and returns its full encoding, which includes tag and length bytes.ByteStringAsn1Reader. readBitString()Reads the next element as a bit string having the Universal Bit String ASN.1 type tag.ByteStringAsn1Reader. readBitString(byte type)Reads the next element as a bit string having the provided type tag.ByteStringAsn1Reader. readOctetString()Reads the next element as an octet string having any tag.ByteStringAsn1Reader. readOctetString(byte type)Reads the next element as an octet string having the provided type tag.ByteStringAsn1Writer. 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 ByteString Modifier and Type Method Description static 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.Asn1WriterAsn1Writer. writeAsn1Element(ByteString asn1Element)Writes exactly the provided byte string without encoding the data.Asn1WriterAsn1Writer. writeBitString(byte type, ByteString value)Writes the provided bit string with zero unused bits using the provided type tag.Asn1WriterAsn1Writer. writeBitString(ByteString value)Writes the provided bit string with zero unused bits using the Universal Bit String ASN.1 type tag.Asn1WriterAsn1Writer. writeOctetString(byte type, ByteString value)Writes an octet string element using the provided type tag.Asn1WriterAsn1Writer. 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 ByteString Modifier and Type Method Description Asn1WriterAsn1Writer. 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.Asn1WriterAsn1Writer. 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 ByteString Modifier and Type Method Description ByteStringProxyProtocolHeader.SslTlv. encode()Encodes the SSL information into TLV format.Methods in org.forgerock.opendj.io.rx that return types with arguments of type ByteString Modifier and Type Method Description Map<Byte,ByteString>ProxyProtocolHeader. 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 ByteString Modifier and Type Method Description static 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 ByteString Modifier and Type Method Description static ByteString[]ByteString. asArray(Object... objects)Returns an array containing the provided objects converted to byte strings usingvalueOfObject(Object).ByteStringAttributeParser. asByteString()Returns the first value, ornullif the attribute does not contain any values.ByteStringAttributeParser. asByteString(ByteString defaultValue)Returns the first value, ordefaultValueif the attribute does not contain any values.static ByteStringBase64. decode(String base64)Decodes the provided base64 encoded data.static ByteStringByteString. empty()Returns an empty byte string.ByteStringAbstractAttribute. firstValue()ByteStringAttribute. firstValue()Returns the first attribute value in this attribute.ByteStringLinkedAttribute. firstValue()ByteStringFilter. getAssertionValue()Returns the assertion value for this comparison filter.ByteStringAva. getAttributeValue()Returns the attribute value associated with this AVA.ByteStringRdn. 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.ByteStringFilter. getSubstringsFinal()Returns the final substring assertion value for this substrings filter, ornullif the substrings filter did not include an final substring.ByteStringFilter. getSubstringsInitial()Returns the initial substring assertion value for this substrings filter, ornullif the substrings filter did not include an initial substring.ByteStringFilter. 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.ByteStringByteStringReader. readByteString(int length)Relative bulk read method.ByteStringByteString. subSequence(int start)Returns a new byte string that is a subsequence of this byte string.ByteStringByteString. subSequence(int start, int size)Returns a new byte string that is a subsequence of this byte string.ByteString[]AbstractAttribute. toArray()ByteString[]Attribute. toArray()Returns an array containing all of the attribute values contained in this attribute.ByteStringByteStringBuilder. toByteString()Returns aByteStringcontaining the contents of this byte string builder.ByteStringDn. toNormalizedByteString()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 ByteString Modifier and Type Method Description static List<ByteString>ByteString. asList(Object... objects)Returns a list containing the provided objects converted to byte strings usingvalueOfObject(Object).Set<ByteString>AttributeParser. asSetOfByteString(Collection<ByteString> defaultValues)Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.Set<ByteString>AttributeParser. asSetOfByteString(ByteString... defaultValues)Returns the values contained in the attribute, ordefaultValuesif the attribute does not contain any values.Stream<ByteString>AttributeParser. asStream()Returns the values as a stream ofByteString.static Function<ByteString,Boolean,LocalizedIllegalArgumentException>Functions. byteStringToBoolean()Returns a function which parsesBooleanvalues.static Function<ByteString,Dn,LocalizedIllegalArgumentException>Functions. byteStringToDn()Returns a function which parsesDNs using the default schema.static Function<ByteString,Dn,LocalizedIllegalArgumentException>Functions. byteStringToDn(Schema schema)Returns a function which parsesDNs using the provided schema.static Function<ByteString,GeneralizedTime,LocalizedIllegalArgumentException>Functions. byteStringToGeneralizedTime()Returns a function which parses generalized time strings.static Function<ByteString,Integer,LocalizedIllegalArgumentException>Functions. byteStringToInteger()Returns a function which parsesIntegerstring values.static Function<ByteString,Long,LocalizedIllegalArgumentException>Functions. byteStringToLong()Returns a function which parsesLongstring values.static Function<ByteString,Path,LocalizedIllegalArgumentException>Functions. byteStringToPath()Returns a function which parsesPathstring values.List<ByteString>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()Iterator<ByteString>Attribute. iterator()Returns an iterator over the attribute values in this attribute.Iterator<ByteString>LinkedAttribute. iterator()Methods in org.forgerock.opendj.ldap with parameters of type ByteString Modifier and Type Method Description default booleanAttribute. add(ByteString value)Addsvalueto this attribute if it is not already present (optional operation).booleanLinkedAttribute. add(ByteString value)ByteStringBuilderByteStringBuilder. appendBytes(ByteString bytes)Appends the providedByteStringto this byte string builder.ByteStringAttributeParser. asByteString(ByteString defaultValue)Returns the first value, ordefaultValueif the attribute does not contain any values.Set<ByteString>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.GenericExtendedResultAbstractConnection. extendedRequest(String requestName, ByteString requestValue)GenericExtendedResultAbstractConnectionWrapper. extendedRequest(String requestName, ByteString requestValue)Requests that the Directory Server performs the provided extended request.GenericExtendedResultConnection. 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.ConditionResultAssertion. 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 ByteString Modifier and Type Method Description booleanAbstractAttribute. 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).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.<T,E extends Exception>
Set<T>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.<T,E extends Exception>
Set<T>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.Set<ByteString>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.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 ByteString Constructor Description ByteStringBuilder(ByteString bs)Creates 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 ByteString Modifier and Type Method Description ByteStringVirtualListViewRequestControl. getAssertionValue()Returns the assertion value that will be used to locate the target entry, if applicable.ByteStringVirtualListViewRequestControl. 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.ByteStringVirtualListViewResponseControl. 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.ByteStringSimplePagedResultsControl. getCookie()Returns the opaque cookie which is used by the server to track its position in the set of search results.ByteStringAdNotificationRequestControl. getValue()ByteStringAssertionRequestControl. getValue()ByteStringAuthorizationIdentityRequestControl. getValue()ByteStringAuthorizationIdentityResponseControl. getValue()ByteStringControl. getValue()Returns the value, if any, associated with this control.ByteStringEntryChangeNotificationResponseControl. getValue()ByteStringGenericControl. getValue()ByteStringGetEffectiveRightsRequestControl. getValue()ByteStringManageDsaItRequestControl. getValue()ByteStringMatchedValuesRequestControl. getValue()ByteStringPasswordExpiredResponseControl. getValue()ByteStringPasswordExpiringResponseControl. getValue()ByteStringPasswordPolicyRequestControl. getValue()ByteStringPasswordPolicyResponseControl. getValue()ByteStringPermissiveModifyRequestControl. getValue()ByteStringPersistentSearchRequestControl. getValue()ByteStringPostReadRequestControl. getValue()ByteStringPostReadResponseControl. getValue()ByteStringPreReadRequestControl. getValue()ByteStringPreReadResponseControl. getValue()ByteStringProxiedAuthV1RequestControl. getValue()ByteStringProxiedAuthV2RequestControl. getValue()ByteStringRelaxRulesRequestControl. getValue()ByteStringServerSideSortRequestControl. getValue()ByteStringServerSideSortResponseControl. getValue()ByteStringSimplePagedResultsControl. getValue()ByteStringSubentriesRequestControl. getValue()ByteStringSubtreeDeleteRequestControl. getValue()ByteStringVirtualListViewRequestControl. getValue()ByteStringVirtualListViewResponseControl. getValue()Methods in org.forgerock.opendj.ldap.controls with parameters of type ByteString Modifier and Type Method Description static VirtualListViewRequestControlVirtualListViewRequestControl. 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.static VirtualListViewResponseControlVirtualListViewResponseControl. newControl(int targetPosition, int contentCount, ResultCode result, ByteString contextId)Creates a new virtual list view response control.static VirtualListViewRequestControlVirtualListViewRequestControl. 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 ByteString Modifier and Type Method Description ByteStringCompareRequest. getAssertionValue()Returns the assertion value to be compared.ByteStringUnknownRequest. getRawProtocolOp()Returns the unparsed protocol-op bytes.ByteStringBindResult. getServerSaslCredentials()Returns the server SASL credentials associated with this bind result.ByteStringPasswordModifyExtendedRequest. 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()ByteStringCancelExtendedRequest. getValue()ByteStringExtendedRequest. getValue()Returns the value, if any, associated with this extended request.ByteStringExtendedResult. getValue()Returns the value, if any, associated with this extended result.ByteStringGenericExtendedRequest. getValue()ByteStringGenericExtendedResult. getValue()ByteStringGenericIntermediateResponse. getValue()ByteStringIntermediateResponse. getValue()Returns the value, if any, associated with this intermediate response.ByteStringPasswordModifyExtendedRequest. getValue()ByteStringPasswordModifyExtendedResult. getValue()ByteStringStartTlsExtendedRequest. getValue()ByteStringWhoAmIExtendedRequest. getValue()ByteStringWhoAmIExtendedResult. getValue()Methods in org.forgerock.opendj.ldap.messages with parameters of type ByteString Modifier and Type Method Description static UnknownRequestRequests. newUnknownRequest(byte protocolOpType, ByteString rawContent)Creates a new unknown request backed by the provided bytes.BindResultBindResult. 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 ByteString Modifier and Type Method Description booleanAddRequest. 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 ByteString Modifier and Type Method Description ByteStringSyntax. fromJson(Object value)Decodes the JSON representation of an attribute value with this syntax.default ByteStringSyntaxImpl. fromJson(Schema schema, Object value)Decodes the JSON representation of an attribute value with this syntax.ByteStringMatchingRule. normalizeAttributeValue(ByteString value)Returns the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.ByteStringMatchingRuleImpl. normalizeAttributeValue(Schema schema, 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 ByteString Modifier and Type Method Description TIndexQueryFactory. 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.TIndexQueryFactory. createRangeMatchQuery(AttributeDescription attributeDescription, String indexId, ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded)Returns a query requesting all index records in the specified range.AssertionAbstractOrderingMatchingRuleImpl. getAssertion(Schema schema, ByteString value)AssertionMatchingRule. getAssertion(ByteString assertionValue)Compiles the provided assertion value as anAssertionsuitable for use with equalityMatch, approxMatch and extensibleMatch search filters.AssertionMatchingRuleImpl. getAssertion(Schema schema, ByteString assertionValue)Compiles the provided assertion value as anAssertionsuitable for use with equalityMatch, approxMatch and extensibleMatch search filters.AssertionMatchingRule. getGreaterOrEqualAssertion(ByteString assertionValue)Compiles the provided ordering assertion value as anAssertionsuitable for use with greaterOrEqual search filters.AssertionMatchingRule. getLessOrEqualAssertion(ByteString assertionValue)Compiles the provided ordering assertion value as anAssertionsuitable for use with lessOrEqual search filters.AssertionAbstractOrderingMatchingRuleImpl. getOrderingAssertion(Schema schema, ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded)AssertionMatchingRule. 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.AssertionMatchingRule. 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.StringIndexer. keyToHumanReadableString(ByteString key)Returns a human readable representation of the key.ByteStringMatchingRule. normalizeAttributeValue(ByteString value)Returns the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.ByteStringMatchingRuleImpl. normalizeAttributeValue(Schema schema, ByteString value)Retrieves the normalized form of the provided attribute value, which is best suited for efficiently performing matching operations on that value.ObjectSyntax. 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 ByteString Modifier and Type Method Description voidIndexer. createKeys(ByteString value, Consumer<ByteString> keyConsumer)Generates the set of index keys for an attribute.AssertionMatchingRule. 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.security
Methods in org.forgerock.opendj.security that return ByteString Modifier and Type Method Description ByteStringExternalKeyWrappingStrategy. unwrapKey(ByteString wrappedKey)Unwraps the providedwrappedkey.ByteStringExternalKeyWrappingStrategy. wrapKey(ByteString unwrappedKey)Wraps the provided encoded key.Methods in org.forgerock.opendj.security with parameters of type ByteString Modifier and Type Method Description ScramCredentialScramMechanism. newScramCredential(ByteString password)Generates a new SCRAM credential suitable for storage in the server, using an iteration count of 10000.ScramCredentialScramMechanism. newScramCredential(ByteString password, int iterations)Generates a new SCRAM credential suitable for storage in the server.SaslServerScramMechanism. 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.ByteStringExternalKeyWrappingStrategy. unwrapKey(ByteString wrappedKey)Unwraps the providedwrappedkey.ByteStringExternalKeyWrappingStrategy. wrapKey(ByteString unwrappedKey)Wraps the provided encoded key.
-