public abstract class AbstractTLSIdentity extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CERT_ATTRIBUTE_COMMON_NAME |
static String |
CERT_ATTRIBUTE_COUNTRY |
static String |
CERT_ATTRIBUTE_EMAIL_ADDRESS |
static String |
CERT_ATTRIBUTE_GIVEN_NAME |
static String |
CERT_ATTRIBUTE_HOSTNAME |
static String |
CERT_ATTRIBUTE_IP_ADDRESS |
static String |
CERT_ATTRIBUTE_LOCALITY |
static String |
CERT_ATTRIBUTE_ORGANIZATION |
static String |
CERT_ATTRIBUTE_ORGANIZATION_UNIT |
static String |
CERT_ATTRIBUTE_POSTAL_ADDRESS |
static String |
CERT_ATTRIBUTE_POSTAL_CODE |
static String |
CERT_ATTRIBUTE_PSEUDONYM |
static String |
CERT_ATTRIBUTE_REGISTERED_ID |
static String |
CERT_ATTRIBUTE_STATE_OR_PROVINCE |
static String |
CERT_ATTRIBUTE_SURNAME |
static String |
CERT_ATTRIBUTE_URL |
Modifier and Type | Method and Description |
---|---|
static String |
getAlias(AbstractTLSIdentity identity) |
static Certificate |
getCert(AbstractTLSIdentity identity) |
List<Certificate> |
getCerts() |
Date |
getExpiration() |
C4KeyPair |
getKeyPair() |
public static final String CERT_ATTRIBUTE_COMMON_NAME
public static final String CERT_ATTRIBUTE_PSEUDONYM
public static final String CERT_ATTRIBUTE_GIVEN_NAME
public static final String CERT_ATTRIBUTE_SURNAME
public static final String CERT_ATTRIBUTE_ORGANIZATION
public static final String CERT_ATTRIBUTE_ORGANIZATION_UNIT
public static final String CERT_ATTRIBUTE_POSTAL_ADDRESS
public static final String CERT_ATTRIBUTE_LOCALITY
public static final String CERT_ATTRIBUTE_POSTAL_CODE
public static final String CERT_ATTRIBUTE_STATE_OR_PROVINCE
public static final String CERT_ATTRIBUTE_COUNTRY
public static final String CERT_ATTRIBUTE_EMAIL_ADDRESS
public static final String CERT_ATTRIBUTE_HOSTNAME
public static final String CERT_ATTRIBUTE_URL
public static final String CERT_ATTRIBUTE_IP_ADDRESS
public static final String CERT_ATTRIBUTE_REGISTERED_ID
@Nullable public static String getAlias(@Nullable AbstractTLSIdentity identity)
@Nullable public static Certificate getCert(@Nullable AbstractTLSIdentity identity)
@NonNull public C4KeyPair getKeyPair()
@NonNull public List<Certificate> getCerts()
@NonNull public Date getExpiration()