| java.lang.Object org.apache.harmony.security.x501.AttributeTypeAndValue
AttributeTypeAndValue | public class AttributeTypeAndValue (Code) | | X.501 AttributeTypeAndValue
|
Field Summary | |
final public static ASN1Sequence | ASN1 | final public static ASN1Type | attributeValue According to RFC 3280 (http://www.ietf.org/rfc/rfc3280.txt)
X.501 AttributeTypeAndValue structure is defined as follows:
AttributeTypeAndValue ::= SEQUENCE {
type AttributeType,
value AttributeValue }
AttributeType ::= OBJECT IDENTIFIER
AttributeValue ::= ANY DEFINED BY AttributeType
...
DirectoryString ::= CHOICE {
teletexString TeletexString (SIZE (1..MAX)),
printableString PrintableString (SIZE (1..MAX)),
universalString UniversalString (SIZE (1..MAX)),
utf8String UTF8String (SIZE (1.. |
attributeValue | final public static ASN1Type attributeValue(Code) | | According to RFC 3280 (http://www.ietf.org/rfc/rfc3280.txt)
X.501 AttributeTypeAndValue structure is defined as follows:
AttributeTypeAndValue ::= SEQUENCE {
type AttributeType,
value AttributeValue }
AttributeType ::= OBJECT IDENTIFIER
AttributeValue ::= ANY DEFINED BY AttributeType
...
DirectoryString ::= CHOICE {
teletexString TeletexString (SIZE (1..MAX)),
printableString PrintableString (SIZE (1..MAX)),
universalString UniversalString (SIZE (1..MAX)),
utf8String UTF8String (SIZE (1.. MAX)),
bmpString BMPString (SIZE (1..MAX)) }
|
AttributeTypeAndValue | public AttributeTypeAndValue(String sOid, AttributeValue value) throws IOException(Code) | | Creates AttributeTypeAndValue with OID and AttributeValue. Parses OID
string representation
Parameters: sOid - string representation of OID Parameters: value - attribute value throws: IOException - if OID can not be created from its string representation |
appendName | public void appendName(String attrFormat, StringBuffer buf)(Code) | | Appends AttributeTypeAndValue string representation
Parameters: attrFormat - - format of DN Parameters: buf - - string buffer to be used |
|
|