Package com.avsystem.anjay
Class AnjaySecurityInfoCert
- java.lang.Object
-
- com.avsystem.anjay.AnjaySecurityInfoCert
-
- All Implemented Interfaces:
AnjaySecurityInfo
public final class AnjaySecurityInfoCert extends java.lang.Object implements AnjaySecurityInfo
Object used to configure Certificate security mode in Anjay.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnjaySecurityInfoCert.CertificateCertificate object.static classAnjaySecurityInfoCert.CertificateRevocationListCertificate Revocation List.static classAnjaySecurityInfoCert.PrivateKeyCertificate's Private Key object.
-
Field Summary
Fields Modifier and Type Field Description java.util.List<AnjaySecurityInfoCert.CertificateRevocationList>certRevocationListsStore of certificate revocation lists.java.util.List<AnjaySecurityInfoCert.Certificate>clientCertLocal certificate to use for authenticating with the peer.AnjaySecurityInfoCert.PrivateKeyclientKeyPrivate key matchingclientCertto use for authenticating with the peer.booleanserverCertValidationEnables validation of peer certificate chain.java.util.List<AnjaySecurityInfoCert.Certificate>trustedCertsStore of trust anchor certificates.
-
Constructor Summary
Constructors Constructor Description AnjaySecurityInfoCert()
-
-
-
Field Detail
-
serverCertValidation
public boolean serverCertValidation
Enables validation of peer certificate chain. If disabled,trustedCertsare ignored.
-
trustedCerts
public java.util.List<AnjaySecurityInfoCert.Certificate> trustedCerts
Store of trust anchor certificates. This field is optional and can be left zero-initialized.
-
clientCert
public java.util.List<AnjaySecurityInfoCert.Certificate> clientCert
Local certificate to use for authenticating with the peer. This field is optional and can be left zero-initialized.
-
certRevocationLists
public java.util.List<AnjaySecurityInfoCert.CertificateRevocationList> certRevocationLists
Store of certificate revocation lists. This field is optional and can be left zero-initialized.
-
clientKey
public AnjaySecurityInfoCert.PrivateKey clientKey
Private key matchingclientCertto use for authenticating with the peer. This field is optional and can be left zero-initialized, unlessclientCertis also specified.
-
-