Home
last modified time | relevance | path

Searched refs:PKCS12Attribute (Results 1 – 5 of 5) 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
125 public PKCS12Attribute(byte[] encoded) { in PKCS12Attribute() method in PKCS12Attribute
199 if (!(obj instanceof PKCS12Attribute)) { in equals()
202 return Arrays.equals(encoded, ((PKCS12Attribute) obj).encoded); in equals()
/libcore/
Dopenjdk_java_files.bp671 "ojluni/src/main/java/java/security/PKCS12Attribute.java",
DEXPECTED_UPSTREAM579 …c/main/java/java/security/PKCS12Attribute.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/j…
/libcore/api/
Dcurrent.txt8347 public final class PKCS12Attribute implements java.security.KeyStore.Entry.Attribute {
8348 ctor public PKCS12Attribute(String, String);
8349 ctor public PKCS12Attribute(byte[]);