Package netscape.security.extensions
Class CertificateScopeEntry
- java.lang.Object
-
- netscape.security.extensions.CertificateScopeEntry
-
public class CertificateScopeEntry extends java.lang.Object
This 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- Version:
- $Revision$, $Date$
- Author:
- thomask
-
-
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 void
encode(DerOutputStream out)
GeneralName
getGeneralName()
Returns a GeneralNameBigInt
getPort()
Returns a portjava.lang.String
toString()
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:
toString
in classjava.lang.Object
-
-