Class CertificateScopeEntry
- java.lang.Object
-
- org.mozilla.jss.netscape.security.extensions.CertificateScopeEntry
-
public class CertificateScopeEntry extends java.lang.ObjectThis represents the CertificateScopeOfUse extension as defined in draft-thayes-cert-scope-00 CertificateScopeEntry ::= SEQUENCE { name GeneralName, -- pattern, as for NameConstraints portNumber INTEGER OPTIONAL } CertificateScopeOfUse ::= SEQUENCE OF CertificateScopeEntry
-
-
Constructor Summary
Constructors Constructor Description CertificateScopeEntry(DerValue val)Constructs scope with der value.CertificateScopeEntry(GeneralName gn, BigInt port)Constructs scope wit
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(DerOutputStream out)GeneralNamegetGeneralName()Returns a GeneralNameBigIntgetPort()Returns a portjava.lang.StringtoString()Returns a printable representation of the CertificateRenewalWindow.
-
-
-
Constructor Detail
-
CertificateScopeEntry
public CertificateScopeEntry(DerValue val) throws java.io.IOException
Constructs scope with der value.- Throws:
java.io.IOException
-
CertificateScopeEntry
public CertificateScopeEntry(GeneralName gn, BigInt port)
Constructs scope wit
-
-
Method Detail
-
encode
public void encode(DerOutputStream out) throws java.io.IOException
- Throws:
java.io.IOException
-
getGeneralName
public GeneralName getGeneralName()
Returns a GeneralName
-
getPort
public BigInt getPort()
Returns a port
-
toString
public java.lang.String toString()
Returns a printable representation of the CertificateRenewalWindow.- Overrides:
toStringin classjava.lang.Object
-
-