public abstract static class OpenPGPCertificate.OpenPGPIdentityComponent extends OpenPGPCertificate.OpenPGPCertificateComponent
OpenPGPCertificate.OpenPGPPrimaryKey
of a OpenPGPCertificate
.
An identity may either be a OpenPGPCertificate.OpenPGPUserId
or (deprecated) OpenPGPCertificate.OpenPGPUserAttribute
.Constructor and Description |
---|
OpenPGPIdentityComponent(OpenPGPCertificate.OpenPGPPrimaryKey primaryKey) |
Modifier and Type | Method and Description |
---|---|
OpenPGPCertificate.OpenPGPSignatureChain |
getCertificationBy(OpenPGPCertificate thirdPartyCertificate)
Return the latest
OpenPGPCertificate.OpenPGPSignatureChain containing a certification issued by the given
3rd-party certificate over this identity component. |
OpenPGPCertificate.OpenPGPSignatureChain |
getCertificationBy(OpenPGPCertificate thirdPartyCertificate,
java.util.Date evaluationTime)
Return the latest (at evaluation time)
OpenPGPCertificate.OpenPGPSignatureChain containing a certification
issued by the given 3rd-party certificate over this identity component. |
protected OpenPGPCertificate.OpenPGPComponentKey |
getKeyComponent()
Return the
OpenPGPCertificate.OpenPGPComponentKey belonging to this OpenPGPCertificate.OpenPGPCertificateComponent . |
OpenPGPCertificate.OpenPGPComponentSignature |
getLatestSelfSignature(java.util.Date evaluationTime)
Return the (at evaluation time) latest self-signature on the component.
|
OpenPGPCertificate.OpenPGPPrimaryKey |
getPrimaryKey()
Return the primary key, which this identity belongs to.
|
OpenPGPCertificate.OpenPGPSignatureChain |
getRevocationBy(OpenPGPCertificate thirdPartyCertificate)
Return the latest
OpenPGPCertificate.OpenPGPSignatureChain containing a revocation issued by the given
3rd-party certificate over this identity component. |
OpenPGPCertificate.OpenPGPSignatureChain |
getRevocationBy(OpenPGPCertificate thirdPartyCertificate,
java.util.Date evaluationTime)
Return the latest (at evaluation time)
OpenPGPCertificate.OpenPGPSignatureChain containing a revocation issued by the given
3rd-party certificate over this identity component. |
java.lang.String |
toDetailString()
Return a detailed String representation of this component.
|
getAEADCipherSuitePreferences, getAEADCipherSuitePreferences, getApplyingSubpacket, getCertificate, getCertification, getCompressionAlgorithmPreferences, getCompressionAlgorithmPreferences, getFeatures, getFeatures, getHashAlgorithmPreferences, getHashAlgorithmPreferences, getKeyExpirationDate, getKeyExpirationDateAt, getKeyFlags, getKeyFlags, getLatestSelfSignature, getMergedDanglingExternalSignatureChainEndsFrom, getPublicComponent, getRevocation, getSignatureChains, getSymmetricCipherPreferences, getSymmetricCipherPreferences, hasKeyFlags, isBound, isBoundAt
public OpenPGPIdentityComponent(OpenPGPCertificate.OpenPGPPrimaryKey primaryKey)
public OpenPGPCertificate.OpenPGPPrimaryKey getPrimaryKey()
public OpenPGPCertificate.OpenPGPComponentSignature getLatestSelfSignature(java.util.Date evaluationTime)
OpenPGPCertificate.OpenPGPCertificateComponent
getLatestSelfSignature
in class OpenPGPCertificate.OpenPGPCertificateComponent
evaluationTime
- reference timeprotected OpenPGPCertificate.OpenPGPComponentKey getKeyComponent()
OpenPGPCertificate.OpenPGPCertificateComponent
OpenPGPCertificate.OpenPGPComponentKey
belonging to this OpenPGPCertificate.OpenPGPCertificateComponent
.
If this OpenPGPCertificate.OpenPGPCertificateComponent
is an instance of OpenPGPCertificate.OpenPGPComponentKey
,
the method simply returns this. If instead, the
OpenPGPCertificate.OpenPGPCertificateComponent
is an OpenPGPCertificate.OpenPGPIdentityComponent
,
the primary key it is bound to is returned.getKeyComponent
in class OpenPGPCertificate.OpenPGPCertificateComponent
OpenPGPCertificate.OpenPGPComponentKey
of this OpenPGPCertificate.OpenPGPCertificateComponent
.public OpenPGPCertificate.OpenPGPSignatureChain getCertificationBy(OpenPGPCertificate thirdPartyCertificate)
OpenPGPCertificate.OpenPGPSignatureChain
containing a certification issued by the given
3rd-party certificate over this identity component.thirdPartyCertificate
- certificate of a 3rd partypublic OpenPGPCertificate.OpenPGPSignatureChain getCertificationBy(OpenPGPCertificate thirdPartyCertificate, java.util.Date evaluationTime)
OpenPGPCertificate.OpenPGPSignatureChain
containing a certification
issued by the given 3rd-party certificate over this identity component.evaluationTime
- reference timethirdPartyCertificate
- certificate of a 3rd partypublic OpenPGPCertificate.OpenPGPSignatureChain getRevocationBy(OpenPGPCertificate thirdPartyCertificate)
OpenPGPCertificate.OpenPGPSignatureChain
containing a revocation issued by the given
3rd-party certificate over this identity component.thirdPartyCertificate
- certificate of a 3rd partypublic OpenPGPCertificate.OpenPGPSignatureChain getRevocationBy(OpenPGPCertificate thirdPartyCertificate, java.util.Date evaluationTime)
OpenPGPCertificate.OpenPGPSignatureChain
containing a revocation issued by the given
3rd-party certificate over this identity component.thirdPartyCertificate
- certificate of a 3rd partyevaluationTime
- reference timepublic java.lang.String toDetailString()
OpenPGPCertificate.OpenPGPCertificateComponent
toDetailString
in class OpenPGPCertificate.OpenPGPCertificateComponent