public static class OpenPGPCertificate.OpenPGPSubkey extends OpenPGPCertificate.OpenPGPComponentKey
OpenPGPCertificate
.rawPubkey
Constructor and Description |
---|
OpenPGPSubkey(PGPPublicKey rawPubkey,
OpenPGPCertificate certificate) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<OpenPGPCertificate.OpenPGPComponentSignature> |
getKeySignatures()
Return all subkey-binding and -revocation signatures on the subkey.
|
boolean |
isPrimaryKey()
Return true, if this
OpenPGPCertificate.OpenPGPComponentKey represents the primary key of an OpenPGPCertificate . |
java.lang.String |
toDetailString()
Return a detailed String representation of this component.
|
java.lang.String |
toString() |
equals, getAlgorithm, getCreationTime, getKeyComponent, getKeyIdentifier, getLatestSelfSignature, getPGPPublicKey, getVersion, hashCode, isCertificationKey, isCertificationKey, isEncryptionKey, isEncryptionKey, isSigningKey, isSigningKey
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 OpenPGPSubkey(PGPPublicKey rawPubkey, OpenPGPCertificate certificate)
public boolean isPrimaryKey()
OpenPGPCertificate.OpenPGPComponentKey
OpenPGPCertificate.OpenPGPComponentKey
represents the primary key of an OpenPGPCertificate
.isPrimaryKey
in class OpenPGPCertificate.OpenPGPComponentKey
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toDetailString()
OpenPGPCertificate.OpenPGPCertificateComponent
toDetailString
in class OpenPGPCertificate.OpenPGPCertificateComponent
protected java.util.List<OpenPGPCertificate.OpenPGPComponentSignature> getKeySignatures()