Uses of Class
org.forgerock.opendj.io.Asn1Reader
-
Packages that use Asn1Reader Package Description org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.opends.server.replication.protocol This package contains the code used by the replication server and by the code running on the Directory Server side to exchange their information. -
-
Uses of Asn1Reader in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return Asn1Reader Modifier and Type Method Description static Asn1Reader
Asn1. getReader(byte[] array)
Returns an ASN.1 reader whose source is the provided byte array and having an unlimited maximum BER element size.static Asn1Reader
Asn1. getReader(byte[] array, int maxElementSize)
Returns an ASN.1 reader whose source is the provided byte array and having a user defined maximum BER element size.static Asn1Reader
Asn1. getReader(InputStream stream)
Returns an ASN.1 reader whose source is the provided input stream and having an unlimited maximum BER element size.static Asn1Reader
Asn1. getReader(InputStream stream, int maxElementSize)
Returns an ASN.1 reader whose source is the provided input stream and having a user defined maximum BER element size.static Asn1Reader
Asn1. getReader(ByteString bytes)
Returns an ASN.1 reader whose source is the provided byte string and having an unlimited maximum BER element size.static Asn1Reader
Asn1. getReader(ByteString bytes, int maxElementSize)
Returns an ASN.1 reader whose source is the provided byte string and having a user defined maximum BER element size.static Asn1Reader
Asn1. getReader(ByteStringReader reader)
Returns an ASN.1 reader whose source is the provided byte string reader and having an unlimited maximum BER element size.static Asn1Reader
Asn1. getReader(ByteStringReader reader, int maxElementSize)
Returns an ASN.1 reader whose source is the provided byte string reader and having a user defined maximum BER element size.Asn1Reader
Asn1Reader. readExplicitTag()
Reads the next element as an explicit tag ignoring the ASN.1 type tag.Asn1Reader
Asn1Reader. readExplicitTag(byte type)
Reads the next element as an explicit tag having the provided tag type.Asn1Reader
Asn1Reader. readExplicitTag(long type)
Reads the next element as an explicit tag having the provided multi-byte tag type encoded as described inAsn1Tag.numberMultiByte(long)
.Asn1Reader
Asn1Reader. readSequence()
Reads the next element as a sequence having the Universal Sequence ASN.1 type tag.Asn1Reader
Asn1Reader. readSequence(byte type)
Reads the next element as a sequence having the provided type tag.Asn1Reader
Asn1Reader. readSet()
Reads the next element as a set having the Universal Set ASN.1 type tag.Asn1Reader
Asn1Reader. readSet(byte type)
Reads the next element as a set having the provided type tag.Asn1Reader
Asn1Reader. skipElement()
Skips the next element without decoding it.Asn1Reader
Asn1Reader. skipElement(byte type)
Skips the next element having the provided type tag without decoding it.Methods in org.forgerock.opendj.io with parameters of type Asn1Reader Modifier and Type Method Description static LdapReader
Ldap. getReader(Asn1Reader asn1Reader, DecodeOptions options)
Creates a new LDAP reader which will read LDAP messages from an ASN.1 reader using the provided decoding options.static Attribute
Ldap. readAttribute(Asn1Reader reader, DecodeOptions options, Schema schema)
Reads the next ASN.1 element from the providedASN1Reader
as anAttribute
.static Control
Ldap. readControl(Asn1Reader reader)
Reads the next ASN.1 element from the providedASN1Reader
as aControl
.static Entry
Ldap. readEntry(Asn1Reader reader, DecodeOptions options)
Reads the next ASN.1 element from the providedASN1Reader
as anEntry
.static Filter
Ldap. readFilter(Asn1Reader reader)
Reads the next ASN.1 element from the providedASN1Reader
as aFilter
using a maximum filter depth of 100.static Filter
Ldap. readFilter(Asn1Reader reader, int maxFilterDepth)
Reads the next ASN.1 element from the providedASN1Reader
as aFilter
using the provided maximum filter depth.static Modification
Ldap. readModification(Asn1Reader reader, DecodeOptions options, Schema schema)
Reads the next ASN.1 element from the providedASN1Reader
as aModification
. -
Uses of Asn1Reader in org.opends.server.replication.protocol
Methods in org.opends.server.replication.protocol that return Asn1Reader Modifier and Type Method Description Asn1Reader
ByteArrayScanner. getAsn1Reader()
Returns a new ASN1Reader that will read bytes from this ByteArrayScanner.Constructors in org.opends.server.replication.protocol with parameters of type Asn1Reader Constructor Description ExtendedStartMsg(Asn1Reader asn1, byte messageType)
Constructs a ExtendedStartMsg from a replication message.
-