Package com.couchbase.lite.internal
Class BaseTLSIdentity
- java.lang.Object
-
- com.couchbase.lite.internal.BaseTLSIdentity
-
- Direct Known Subclasses:
TLSIdentity
public class BaseTLSIdentity extends Object
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getAlias(BaseTLSIdentity identity)
static Certificate
getCert(BaseTLSIdentity identity)
List<Certificate>
getCerts()
Date
getExpiration()
C4KeyPair
getKeyPair()
-
-
-
Field Detail
-
CERT_ATTRIBUTE_COMMON_NAME
public static final String CERT_ATTRIBUTE_COMMON_NAME
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_PSEUDONYM
public static final String CERT_ATTRIBUTE_PSEUDONYM
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_GIVEN_NAME
public static final String CERT_ATTRIBUTE_GIVEN_NAME
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_SURNAME
public static final String CERT_ATTRIBUTE_SURNAME
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_ORGANIZATION
public static final String CERT_ATTRIBUTE_ORGANIZATION
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_ORGANIZATION_UNIT
public static final String CERT_ATTRIBUTE_ORGANIZATION_UNIT
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_POSTAL_ADDRESS
public static final String CERT_ATTRIBUTE_POSTAL_ADDRESS
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_LOCALITY
public static final String CERT_ATTRIBUTE_LOCALITY
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_POSTAL_CODE
public static final String CERT_ATTRIBUTE_POSTAL_CODE
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_STATE_OR_PROVINCE
public static final String CERT_ATTRIBUTE_STATE_OR_PROVINCE
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_COUNTRY
public static final String CERT_ATTRIBUTE_COUNTRY
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_EMAIL_ADDRESS
public static final String CERT_ATTRIBUTE_EMAIL_ADDRESS
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_HOSTNAME
public static final String CERT_ATTRIBUTE_HOSTNAME
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_URL
public static final String CERT_ATTRIBUTE_URL
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_IP_ADDRESS
public static final String CERT_ATTRIBUTE_IP_ADDRESS
- See Also:
- Constant Field Values
-
CERT_ATTRIBUTE_REGISTERED_ID
public static final String CERT_ATTRIBUTE_REGISTERED_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAlias
@Nullable public static String getAlias(@Nullable BaseTLSIdentity identity)
-
getCert
@Nullable public static Certificate getCert(@Nullable BaseTLSIdentity identity)
-
getKeyPair
@NonNull public C4KeyPair getKeyPair()
-
getCerts
@NonNull public List<Certificate> getCerts()
-
getExpiration
@NonNull public Date getExpiration()
-
-