Methods Summary |
---|
public static org.apache.harmony.security.x509.InfoAccessSyntax | decode(byte[] encoding)
return ((InfoAccessSyntax) ASN1.decode(encoding));
|
public void | dumpValue(java.lang.StringBuffer buffer, java.lang.String prefix)Places the string representation of extension value
into the StringBuffer object.
buffer.append(prefix).append("AccessDescriptions:\n"); //$NON-NLS-1$
if (accessDescriptions == null || accessDescriptions.isEmpty()) {
buffer.append("NULL\n"); //$NON-NLS-1$
} else {
Iterator itr = accessDescriptions.iterator();
while (itr.hasNext()) {
buffer.append(itr.next().toString());
}
}
|
public java.util.List | getAccessDescriptions()
return new ArrayList(accessDescriptions);
|
public byte[] | getEncoded()Returns ASN.1 encoded form of this X.509 InfoAccessSyntax.
if (encoding == null) {
encoding = ASN1.encode(this);
}
return encoding;
|
public java.lang.String | toString()
StringBuffer res = new StringBuffer();
res.append("\n---- InfoAccessSyntax:"); //$NON-NLS-1$
if (accessDescriptions != null) {
for (Iterator it = accessDescriptions.iterator(); it.hasNext();) {
res.append('\n");
res.append(it.next());
}
}
res.append("\n---- InfoAccessSyntax END\n"); //$NON-NLS-1$
return res.toString();
|