public final class MyX509Extensions
extends java.lang.Object
http://www.faqs.org/rfcs/rfc3280.html
Constructor and Description |
---|
MyX509Extensions(AbstractX509Extension a_extension)
Creates a new X509Extensions object from a single extension.
|
MyX509Extensions(java.util.Vector a_extensions)
Creates a new X509Extensions object that holds all extensions in the
given Vector.
|
Modifier and Type | Method and Description |
---|---|
AbstractX509Extension |
getExtension(int a_index)
Returns the extension at the given index.
|
AbstractX509Extension |
getExtension(java.lang.String a_identifier)
Returns the extension with the specified identifier if it is contained in
this X509Extensions object.
|
java.util.Vector |
getExtensions()
Returns a Vector with all X509 extensions that are contained in this
object as AbstractX509Extension objects.
|
java.util.Vector |
getExtensions(java.lang.String a_identifier)
Returns the extensions with the specified identifier if they are
contained in this X509Extensions object.
|
int |
getSize()
Returns the number of extensions contained in this object.
|
public MyX509Extensions(AbstractX509Extension a_extension)
a_extension
- an AbstractX509Extensionpublic MyX509Extensions(java.util.Vector a_extensions)
a_extensions
- a Vector with extension of the type AbstractX509Extensionpublic int getSize()
public AbstractX509Extension getExtension(int a_index)
a_index
- an index numberjava.lang.ArrayIndexOutOfBoundsException
- if the index is negative or not less than the current size of
this X509Extensions objectpublic AbstractX509Extension getExtension(java.lang.String a_identifier)
a_identifier
- an X509 extension identifierpublic java.util.Vector getExtensions(java.lang.String a_identifier)
a_identifier
- an X509 extension identifierpublic java.util.Vector getExtensions()
Copyright © 2023. All rights reserved.