Class CertificateInfo
java.lang.Object
org.elasticsearch.client.security.support.CertificateInfo
Simple model of an X.509 certificate
-
Field Summary
Modifier and TypeFieldDescriptionstatic org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ConstructingObjectParser<CertificateInfo,Void>
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
static org.elasticsearch.common.xcontent.ParseField
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static CertificateInfo
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
getAlias()
getPath()
int
hashCode()
boolean
-
Field Details
-
PATH
public static final org.elasticsearch.common.xcontent.ParseField PATH -
FORMAT
public static final org.elasticsearch.common.xcontent.ParseField FORMAT -
ALIAS
public static final org.elasticsearch.common.xcontent.ParseField ALIAS -
SUBJECT_DN
public static final org.elasticsearch.common.xcontent.ParseField SUBJECT_DN -
SERIAL_NUMBER
public static final org.elasticsearch.common.xcontent.ParseField SERIAL_NUMBER -
HAS_PRIVATE_KEY
public static final org.elasticsearch.common.xcontent.ParseField HAS_PRIVATE_KEY -
EXPIRY
public static final org.elasticsearch.common.xcontent.ParseField EXPIRY -
PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<CertificateInfo,Void> PARSER
-
-
Constructor Details
-
CertificateInfo
-
-
Method Details
-
getPath
-
getFormat
-
getAlias
-
getSubjectDn
-
getSerialNumber
-
hasPrivateKey
public boolean hasPrivateKey() -
getExpiry
-
equals
-
hashCode
public int hashCode() -
fromXContent
public static CertificateInfo fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Throws:
IOException
-