PKCS12Attribute.Value Property

Definition

Returns the attribute's ASN.

public string? Value { [Android.Runtime.Register("getValue", "()Ljava/lang/String;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getValue", "()Ljava/lang/String;", "", ApiSince=26)>]
member this.Value : string

Property Value

the attribute value's string encoding

Implements

Attributes

Remarks

Returns the attribute's ASN.1 DER-encoded value as a string. An ASN.1 DER-encoded value is returned in one of the following String formats: <ul> <li> the DER encoding of a basic ASN.1 type that has a natural string representation is returned as the string itself. Such types are currently limited to BOOLEAN, INTEGER, OBJECT IDENTIFIER, UTCTime, GeneralizedTime and the following six ASN.1 string types: UTF8String, PrintableString, T61String, IA5String, BMPString and GeneralString. <li> the DER encoding of any other ASN.1 type is not decoded but returned as a binary string of colon-separated pairs of hexadecimal digits. </ul> Multi-valued attributes are represented as a comma-separated list of values, enclosed in square brackets. See Arrays#toString(java.lang.Object[]).

Java documentation for java.security.PKCS12Attribute.getValue().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to