public abstract class Options extends Object
Modifier | Constructor and Description |
---|---|
protected |
Options(int maxSize) |
Modifier and Type | Method and Description |
---|---|
void |
clear(int index)
Clears (sets false) the option at a given index.
|
boolean |
get(int index)
Returns the value of the option at the given index.
|
byte[] |
getBytes()
Byte-reversing methods are an anomaly of the BouncyCastle
DERBitString endianness.
|
boolean |
match(Options options,
int option)
Returns whether the option at a given index matches the option in this
Options . |
void |
set(int index)
Sets the option at a given index.
|
protected void |
setBytes(byte[] bytes) |
public boolean match(Options options, int option)
Options
.options
- option
- public boolean get(int index)
index
- public void set(int index)
index
- public void clear(int index)
index
- public byte[] getBytes()
Options
bytes.protected void setBytes(byte[] bytes)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.