|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.crypt.x509.ExtensionFactory
public final class ExtensionFactory
Creates X.509v3 extension types in the VT Crypt namespace from BouncyCastle ASN1Encodable types.
| Method Summary | |
|---|---|
static AccessDescriptionList |
createAccessDescriptionList(org.bouncycastle.asn1.DEREncodable enc)
Creates a AccessDescriptionList object from DER data. |
static AuthorityKeyIdentifier |
createAuthorityKeyIdentifier(org.bouncycastle.asn1.DEREncodable enc)
Creates a AuthorityKeyIdentifier object from DER data. |
static BasicConstraints |
createBasicConstraints(org.bouncycastle.asn1.DEREncodable enc)
Creates a BasicConstraints object from DER data. |
static DistributionPointList |
createDistributionPointList(org.bouncycastle.asn1.DEREncodable enc)
Creates a DistributionPointList object from DER data. |
static GeneralName |
createGeneralName(org.bouncycastle.asn1.DEREncodable enc)
Creates a GeneralName object from DER data. |
static GeneralNameList |
createGeneralNameList(org.bouncycastle.asn1.DEREncodable enc)
Creates a GeneralNameList object from DER data. |
static Object |
createInstance(org.bouncycastle.asn1.DEREncodable encodedExtension,
ExtensionType type)
Creates an instance of a VT Crypt X.509v3 extension type from the corresponding Bouncy Castle extension type. |
static KeyIdentifier |
createKeyIdentifier(org.bouncycastle.asn1.DEREncodable enc)
Creates a KeyIdentifier object from DER data. |
static KeyPurposeIdList |
createKeyPurposeIdList(org.bouncycastle.asn1.DEREncodable enc)
Creates a KeyPurposeIdList object from DER data. |
static KeyUsage |
createKeyUsage(org.bouncycastle.asn1.DEREncodable enc)
Creates a KeyUsage object from DER data. |
static NoticeReference |
createNoticeReference(org.bouncycastle.asn1.DEREncodable enc)
Creates a NoticeReference object from DER data. |
static PolicyInformation |
createPolicyInformation(org.bouncycastle.asn1.DEREncodable enc)
Creates a PolicyInformation object from DER data. |
static PolicyInformationList |
createPolicyInformationList(org.bouncycastle.asn1.DEREncodable enc)
Creates a PolicyInformationList object from DER data. |
static PolicyQualifierInfo |
createPolicyQualifierInfo(org.bouncycastle.asn1.DEREncodable enc)
Creates a PolicyQualifierInfo object from DER data. |
static UserNotice |
createUserNotice(org.bouncycastle.asn1.DEREncodable enc)
Creates a UserNotice object from DER data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Object createInstance(org.bouncycastle.asn1.DEREncodable encodedExtension,
ExtensionType type)
type - Type of extension.encodedExtension - DER encoded data representing the extension field
data.
edu.vt.middleware.crypt.x509.types package that is semantically
equivalent to the given Bouncy Castle object.
IllegalArgumentException - If given ASN.1 encodable object is not
compatible with the given extension type.public static GeneralNameList createGeneralNameList(org.bouncycastle.asn1.DEREncodable enc)
GeneralNameList object from DER data.
enc - DER encoded general names data.
public static GeneralName createGeneralName(org.bouncycastle.asn1.DEREncodable enc)
GeneralName object from DER data.
enc - DER encoded general names data.
public static BasicConstraints createBasicConstraints(org.bouncycastle.asn1.DEREncodable enc)
BasicConstraints object from DER data.
enc - DER encoded basic constraints data.
public static PolicyInformationList createPolicyInformationList(org.bouncycastle.asn1.DEREncodable enc)
PolicyInformationList object from DER data.
enc - DER encoded policy information data; must be
ASN1Sequence.
public static PolicyInformation createPolicyInformation(org.bouncycastle.asn1.DEREncodable enc)
PolicyInformation object from DER data.
enc - DER encoded policy information data.
public static PolicyQualifierInfo createPolicyQualifierInfo(org.bouncycastle.asn1.DEREncodable enc)
PolicyQualifierInfo object from DER data.
enc - DER encoded policy information data.
public static UserNotice createUserNotice(org.bouncycastle.asn1.DEREncodable enc)
UserNotice object from DER data.
enc - DER encoded user notice; must be ASN1Sequence.
public static NoticeReference createNoticeReference(org.bouncycastle.asn1.DEREncodable enc)
NoticeReference object from DER data.
enc - DER encoded user notice; must be either
ASN1Sequence or
org.bouncycastle.asn1.x509.NoticeReference object.
public static KeyIdentifier createKeyIdentifier(org.bouncycastle.asn1.DEREncodable enc)
KeyIdentifier object from DER data.
enc - DER encoded policy information data; must be
ASN1OctetString.
public static AuthorityKeyIdentifier createAuthorityKeyIdentifier(org.bouncycastle.asn1.DEREncodable enc)
AuthorityKeyIdentifier object from DER data.
enc - DER encoded authority key identifier data.
public static KeyUsage createKeyUsage(org.bouncycastle.asn1.DEREncodable enc)
KeyUsage object from DER data.
enc - DER encoded key usage data.
public static KeyPurposeIdList createKeyPurposeIdList(org.bouncycastle.asn1.DEREncodable enc)
KeyPurposeIdList object from DER data.
enc - DER encoded key purpose identifier data.
public static DistributionPointList createDistributionPointList(org.bouncycastle.asn1.DEREncodable enc)
DistributionPointList object from DER data.
enc - DER encoded distribution point list.
public static AccessDescriptionList createAccessDescriptionList(org.bouncycastle.asn1.DEREncodable enc)
AccessDescriptionList object from DER data.
enc - DER encoded distribution point list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||