Class GeneralNames


  • public final class GeneralNames
    extends Object
    The class encapsulates the ASN.1 DER encoding/decoding work with the GeneralNames structure which is a part of X.509 certificate (as specified in RFC 3280 - Internet X.509 Public Key Infrastructure. Certificate and Certificate Revocation List (CRL) Profile. http://www.ietf.org/rfc/rfc3280.txt):
       GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
     
    See Also:
    NameConstraints, GeneralSubtree
    • Field Detail

      • ASN1

        public static final ASN1Type ASN1
        ASN.1 DER X.509 GeneralNames encoder/decoder class.
    • Constructor Detail

      • GeneralNames

        public GeneralNames()
    • Method Detail

      • getNames

        public List<GeneralName> getNames()
        Returns the list of values.
      • getPairsList

        public Collection<List<?>> getPairsList()
        Returns the collection of pairs: (Integer (tag), Object (name value))*
      • getEncoded

        public byte[] getEncoded()
        Returns ASN.1 encoded form of this X.509 GeneralNames value.