Package org.apache.harmony.security.x509
Class GeneralNames
java.lang.Object
org.apache.harmony.security.x509.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 Summary
-
Constructor Summary
Constructors Constructor Description GeneralNames()GeneralNames(List<GeneralName> generalNames) -
Method Summary
Modifier and Type Method Description voidaddName(GeneralName name)voiddumpValue(StringBuilder sb, String prefix)byte[]getEncoded()Returns ASN.1 encoded form of this X.509 GeneralNames value.List<GeneralName>getNames()Returns the list of values.Collection<List<?>>getPairsList()Returns the collection of pairs: (Integer (tag), Object (name value))*
-
Field Details
-
ASN1
ASN.1 DER X.509 GeneralNames encoder/decoder class.
-
-
Constructor Details
-
GeneralNames
public GeneralNames() -
GeneralNames
-
-
Method Details
-
getNames
Returns the list of values. -
getPairsList
Returns the collection of pairs: (Integer (tag), Object (name value))* -
addName
-
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this X.509 GeneralNames value. -
dumpValue
-