Package org.apache.harmony.security.x509
Class InfoAccessSyntax
java.lang.Object
org.apache.harmony.security.x509.ExtensionValue
org.apache.harmony.security.x509.InfoAccessSyntax
public final class InfoAccessSyntax extends ExtensionValue
The class encapsulates the ASN.1 DER encoding/decoding work
with the SubjectInfoAccessSyntax and AuthorityInfoAccessSyntax
which are a part of X.509 framework
(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):
SubjectInfoAccessSyntax ::=
SEQUENCE SIZE (1..MAX) OF AccessDescriptions
AuthorityInfoAccessSyntax ::=
SEQUENCE SIZE (1..MAX) OF AccessDescriptions
AccessDescription ::= SEQUENCE {
accessMethod OBJECT IDENTIFIER,
accessLocation GeneralName }
-
Field Summary
Fields Modifier and Type Field Description static ASN1TypeASN1ASN.1 DER X.509 AuthorityInfoAccessSyntax and SubjectInfoAccessSyntax encoder/decoder class.Fields inherited from class org.apache.harmony.security.x509.ExtensionValue
encoding -
Method Summary
Modifier and Type Method Description static InfoAccessSyntaxdecode(byte[] encoding)voiddumpValue(StringBuilder sb, String prefix)byte[]getEncoded()Returns ASN.1 encoded form of this X.509 InfoAccessSyntax.StringtoString()Returns a string containing a concise, human-readable description of this object.Methods inherited from class org.apache.harmony.security.x509.ExtensionValue
dumpValue
-
Field Details
-
ASN1
ASN.1 DER X.509 AuthorityInfoAccessSyntax and SubjectInfoAccessSyntax encoder/decoder class.
-
-
Method Details
-
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this X.509 InfoAccessSyntax.- Overrides:
getEncodedin classExtensionValue
-
decode
- Throws:
IOException
-
toString
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod. -
dumpValue
- Overrides:
dumpValuein classExtensionValue
-