|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Unstable public interface X509Extensions
X509 Extensions set.
Field Summary | |
---|---|
static String |
BASIC_CONSTRAINTS_OID
OID of KeyUsage. |
static String |
EXTENDED_KEY_USAGE_OID
OID of ExtendedKeyUsage. |
static String |
ISSUER_ALT_NAME_OID
OID of IssuerAltName. |
static String |
KEY_USAGE_OID
OID of KeyUsage. |
static String |
SUBJECT_ALT_NAME_OID
OID of IssuerAltName. |
Method Summary | |
---|---|
byte[] |
getAuthorityKeyIdentifier()
|
int |
getBasicConstraintsPathLen()
|
String[] |
getCriticalExtensionOID()
|
byte[] |
getEncoded()
|
ExtendedKeyUsages |
getExtendedKeyUsage()
|
String[] |
getExtensionOID()
|
byte[] |
getExtensionValue(String oid)
Gets the DER-encoded OCTET string for the extension value (extnValue) identified by the passed-in oid String. |
List<X509GeneralName> |
getIssuerAltName()
|
EnumSet<KeyUsage> |
getKeyUsage()
|
String[] |
getNonCriticalExtensionOID()
|
List<X509GeneralName> |
getSubjectAltName()
|
byte[] |
getSubjectKeyIdentifier()
|
boolean |
hasCertificateAuthorityBasicConstraints()
|
boolean |
isCritical(String oid)
Return true if the given oid has a critical extension. |
Field Detail |
---|
static final String BASIC_CONSTRAINTS_OID
static final String KEY_USAGE_OID
static final String EXTENDED_KEY_USAGE_OID
static final String SUBJECT_ALT_NAME_OID
static final String ISSUER_ALT_NAME_OID
Method Detail |
---|
byte[] getExtensionValue(String oid)
oid
- the oid to retrieve.
boolean isCritical(String oid)
oid
- the oid to check.
String[] getExtensionOID()
String[] getCriticalExtensionOID()
String[] getNonCriticalExtensionOID()
byte[] getEncoded() throws IOException
IOException
- on encoding error.boolean hasCertificateAuthorityBasicConstraints()
int getBasicConstraintsPathLen()
EnumSet<KeyUsage> getKeyUsage()
ExtendedKeyUsages getExtendedKeyUsage()
byte[] getAuthorityKeyIdentifier()
byte[] getSubjectKeyIdentifier()
List<X509GeneralName> getSubjectAltName()
List<X509GeneralName> getIssuerAltName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |