Package org.xipki.ca.api.profile
Class ExtensionSpec
- java.lang.Object
-
- org.xipki.ca.api.profile.ExtensionSpec
-
public abstract class ExtensionSpec extends Object
Extension specification.- Author:
- Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description ExtensionSpec()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ExtensionSpecgetExtensionSpec(Certprofile.CertDomain domain, Certprofile.CertLevel certLevel)abstract Set<org.bouncycastle.asn1.ASN1ObjectIdentifier>getRequiredExtensions()abstract booleanisCriticalOnly(org.bouncycastle.asn1.ASN1ObjectIdentifier type)abstract booleanisNonCriticalOnly(org.bouncycastle.asn1.ASN1ObjectIdentifier type)abstract booleanisNonRequest(org.bouncycastle.asn1.ASN1ObjectIdentifier type)abstract booleanisNotPermitted(org.bouncycastle.asn1.ASN1ObjectIdentifier type)static booleanisValidPublicDomain(String domain)static booleanisValidPublicIPv4Address(byte[] ipv4Address)
-
-
-
Method Detail
-
getRequiredExtensions
public abstract Set<org.bouncycastle.asn1.ASN1ObjectIdentifier> getRequiredExtensions()
-
isNotPermitted
public abstract boolean isNotPermitted(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
-
isCriticalOnly
public abstract boolean isCriticalOnly(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
-
isNonCriticalOnly
public abstract boolean isNonCriticalOnly(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
-
isNonRequest
public abstract boolean isNonRequest(org.bouncycastle.asn1.ASN1ObjectIdentifier type)
-
isValidPublicDomain
public static boolean isValidPublicDomain(String domain)
-
isValidPublicIPv4Address
public static boolean isValidPublicIPv4Address(byte[] ipv4Address)
-
getExtensionSpec
public static ExtensionSpec getExtensionSpec(Certprofile.CertDomain domain, Certprofile.CertLevel certLevel)
-
-