Searched refs:PKCS12Attribute (Results 1 – 3 of 3) sorted by relevance
22 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 …]
41 public final class PKCS12Attribute implements KeyStore.Entry.Attribute { class72 public PKCS12Attribute(String name, String value) { in PKCS12Attribute() method in PKCS12Attribute124 public PKCS12Attribute(byte[] encoded) { in PKCS12Attribute() method in PKCS12Attribute198 if (!(obj instanceof PKCS12Attribute)) { in equals()201 return Arrays.equals(encoded, ((PKCS12Attribute) obj).getEncoded()); in equals()
634 ojluni/src/main/java/java/security/PKCS12Attribute.java \