public class CertificateInformation extends Object implements Serializable
Constructor and Description |
---|
CertificateInformation() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getCertificate()
Retrieves the certificiate that is a part of the validation done for the signer's certificate.
|
RevocationInformation |
getRevocationInformation()
Retrieves a
RevocationInformation object that is associated with this certificate. |
boolean |
isTrusted()
Specifies whether the certificate is trusted as a Trust Anchor in AEM Granite Trust Store.
|
void |
setCertificate(byte[] certificate)
Sets the certificiate that is a part of the validation done for the signer's certificate.
|
void |
setRevocationInformation(RevocationInformation revocationInformation)
Sets certificate revocation information.
|
void |
setTrusted(boolean isTrusted)
Sets whether the certificate is trusted as a Trust Anchor in AEM Granite Trust Store.
|
String |
toString() |
public void setCertificate(byte[] certificate)
certificate
- A byte array that represents the certificate.public byte[] getCertificate()
public RevocationInformation getRevocationInformation()
RevocationInformation
object that is associated with this certificate.
A RevocationInformation
object specifies information about a revoked certificate.RevocationInformation
object that is associated with this certificate.public void setRevocationInformation(RevocationInformation revocationInformation)
revocationInformation
- A RevocationInformation
object that specifies certificate
revocation information.public boolean isTrusted()
public void setTrusted(boolean isTrusted)
isTrusted
- A boolean value that specifies whether the certificate is valid.Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.