Class 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
    • 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 class java.lang.Object