Package org.bouncycastle.openpgp.api
Class OpenPGPCertificate.OpenPGPSubkey
java.lang.Object
org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPCertificateComponent
org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPComponentKey
org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPSubkey
- Enclosing class:
OpenPGPCertificate
A subkey on a
OpenPGPCertificate
.-
Field Summary
Fields inherited from class org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPComponentKey
rawPubkey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<OpenPGPCertificate.OpenPGPComponentSignature> Return all subkey-binding and -revocation signatures on the subkey.boolean
Return true, if thisOpenPGPCertificate.OpenPGPComponentKey
represents the primary key of anOpenPGPCertificate
.Return a detailed String representation of this component.toString()
Methods inherited from class org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPComponentKey
equals, getAlgorithm, getCreationTime, getKeyComponent, getKeyIdentifier, getLatestSelfSignature, getPGPPublicKey, getVersion, hashCode, isCertificationKey, isCertificationKey, isEncryptionKey, isEncryptionKey, isSigningKey, isSigningKey
Methods inherited from class org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPCertificateComponent
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
-
Constructor Details
-
OpenPGPSubkey
-
-
Method Details
-
isPrimaryKey
public boolean isPrimaryKey()Description copied from class:OpenPGPCertificate.OpenPGPComponentKey
Return true, if thisOpenPGPCertificate.OpenPGPComponentKey
represents the primary key of anOpenPGPCertificate
.- Specified by:
isPrimaryKey
in classOpenPGPCertificate.OpenPGPComponentKey
- Returns:
- true if primary, false if subkey
-
toString
-
toDetailString
Description copied from class:OpenPGPCertificate.OpenPGPCertificateComponent
Return a detailed String representation of this component.- Specified by:
toDetailString
in classOpenPGPCertificate.OpenPGPCertificateComponent
- Returns:
- detailed String representation
-
getKeySignatures
Return all subkey-binding and -revocation signatures on the subkey.- Returns:
- subkey signatures
-