Home
last modified time | relevance | path

Searched refs:PKCS12Attribute (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/security/
DPKCS12AttributeTest.java22 import java.security.PKCS12Attribute;
107 PKCS12Attribute att = new PKCS12Attribute(PKCS9_EMAIL_ADDRESS_OID, EXAMPLE_EMAIL_ADDRESS); in test_Constructor_String_String_success()
114 new PKCS12Attribute(null, EXAMPLE_EMAIL_ADDRESS); in test_Constructor_String_String_nullOID_throwsException()
122 new PKCS12Attribute(PKCS9_EMAIL_ADDRESS_OID, null); in test_Constructor_String_String_nullValue_throwsException()
130 PKCS12Attribute att = in test_Constructor_String_String_wrongOID_throwsException()
131 new PKCS12Attribute("IDontThinkThisIsAnOID", EXAMPLE_EMAIL_ADDRESS); in test_Constructor_String_String_wrongOID_throwsException()
138 PKCS12Attribute att = new PKCS12Attribute(ENCODED_ATTRIBUTE_UTF8_EMAIL_ADDRESS); in test_Constructor_byteArray_success()
145 new PKCS12Attribute(null); in testConstructor_byteArray_nullEncoded_throwsException()
153 new PKCS12Attribute(new byte[]{3, 14, 16}); in test_Constructor_byteArray_wrongEncoding_throwsException()
160 PKCS12Attribute att = new PKCS12Attribute( in test_Constructor_String_String_sequenceValue()
[all …]
/libcore/ojluni/src/main/java/java/security/
DPKCS12Attribute.java41 public final class PKCS12Attribute implements KeyStore.Entry.Attribute { class
72 public PKCS12Attribute(String name, String value) { in PKCS12Attribute() method in PKCS12Attribute
124 public PKCS12Attribute(byte[] encoded) { in PKCS12Attribute() method in PKCS12Attribute
198 if (!(obj instanceof PKCS12Attribute)) { in equals()
201 return Arrays.equals(encoded, ((PKCS12Attribute) obj).getEncoded()); in equals()
/libcore/
Dopenjdk_java_files.mk634 ojluni/src/main/java/java/security/PKCS12Attribute.java \