extendedKeyUsage ::= SEQUENCE SIZE (1..MAX) OF KeyPurposeId
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ASN1Sequence | |
| pack-priv Hashtable |
| Access | Constructor and Description |
|---|---|
| public | ExtendedKeyUsage(KeyPurposeId
the keyPurposeId to be included. usage)Base constructor, from a single KeyPurposeId. |
| private | |
| public | ExtendedKeyUsage(KeyPurposeId[]
an array of KeyPurposeIds. usages)Base constructor, from multiple KeyPurposeIds. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ExtendedKeyUsage | Returns: the ExtendedKeyUsage, null if the extension is not present.the extensions object to be examined. extensions)Retrieve an ExtendedKeyUsage for a passed in Extensions object, if present. |
| public static ExtendedKeyUsage | Returns: the ExtendedKeyUsage contained.the tagged object containing the ExtendedKeyUsage obj, boolean true if the tagged object should be interpreted as explicitly tagged, false if implicit. explicit)Return an ExtendedKeyUsage from the passed in tagged object. |
| public static ExtendedKeyUsage | Returns: an ExtendedKeyUsage object, or null if null is passed in.an ExtendedKeyUsage, some form or encoding of one, or null. obj)Return an ExtendedKeyUsage from the passed in object. |
| public KeyPurposeId[] | |
| public boolean | Returns: true if the keyPurposeId is present, false otherwise.the KeyPurposeId of interest. keyPurposeId)Return true if this ExtendedKeyUsage object contains the passed in keyPurposeId. |
| public int | Returns: the number of KeyPurposeIdsReturn the number of KeyPurposeIds present in this ExtendedKeyUsage. |
| public ASN1Primitive | Returns: an ASN1Sequence.Implements abstract org. Implements org. |
| seq | back to summary |
|---|---|
| pack-priv ASN1Sequence seq | |
| usageTable | back to summary |
|---|---|
| pack-priv Hashtable<K, V> usageTable | |
| ExtendedKeyUsage | back to summary |
|---|---|
| public ExtendedKeyUsage(KeyPurposeId usage) Base constructor, from a single KeyPurposeId.
| |
| ExtendedKeyUsage | back to summary |
|---|---|
| private ExtendedKeyUsage(ASN1Sequence seq) | |
| ExtendedKeyUsage | back to summary |
|---|---|
| public ExtendedKeyUsage(KeyPurposeId[] usages) Base constructor, from multiple KeyPurposeIds.
| |
| ExtendedKeyUsage | back to summary |
|---|---|
| public ExtendedKeyUsage(Vector<E> usages)
Deprecated use KeyPurposeId[] constructor. | |
| fromExtensions | back to summary |
|---|---|
| public static ExtendedKeyUsage fromExtensions(Extensions extensions) Retrieve an ExtendedKeyUsage for a passed in Extensions object, if present.
| |
| getInstance | back to summary |
|---|---|
| public static ExtendedKeyUsage getInstance(ASN1TaggedObject obj, boolean explicit) Return an ExtendedKeyUsage from the passed in tagged object.
| |
| getInstance | back to summary |
|---|---|
| public static ExtendedKeyUsage getInstance(Object obj) Return an ExtendedKeyUsage from the passed in object.
| |
| getUsages | back to summary |
|---|---|
| public KeyPurposeId[] getUsages() Returns all extended key usages.
| |
| hasKeyPurposeId | back to summary |
|---|---|
| public boolean hasKeyPurposeId(KeyPurposeId keyPurposeId) Return true if this ExtendedKeyUsage object contains the passed in keyPurposeId.
| |
| size | back to summary |
|---|---|
| public int size() Return the number of KeyPurposeIds present in this ExtendedKeyUsage.
| |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org. Return the ASN.1 primitive form of this object.
| |