public class X509ExtensionSet extends Object
Constructor | Description |
---|---|
X509ExtensionSet() |
Creates an empty X509ExtensionSet object.
|
Modifier and Type | Method | Description |
---|---|---|
X509Extension |
add(X509Extension extension) |
Adds a X509Extension object to this set.
|
void |
clear() |
Removes all extensions from the set.
|
X509Extension |
get(String oid) |
Retrieves X509Extension by given oid.
|
boolean |
isEmpty() |
Returns if the set is empty.
|
Set |
oidSet() |
Returns a set view of the OIDs of the extensions contained in this
extension set.
|
X509Extension |
remove(String oid) |
Removes X509Extension by given oid.
|
int |
size() |
Returns the size of the set.
|
public X509ExtensionSet()
public X509Extension add(X509Extension extension)
extension
- the extension to addpublic X509Extension get(String oid)
oid
- the oid of the extension to retrieve.public X509Extension remove(String oid)
oid
- the oid of the extension to remove.public int size()
public boolean isEmpty()
public void clear()
public Set oidSet()
Copyright © 2018. All rights reserved.