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 OpenPGPCertificate.OpenPGPComponentKey
rawPubkey -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<OpenPGPCertificate.OpenPGPComponentSignature> Return all subkey-binding and -revocation signatures on the subkey.booleanReturn true, if thisOpenPGPCertificate.OpenPGPComponentKeyrepresents the primary key of anOpenPGPCertificate.Return a detailed String representation of this component.toString()Methods inherited from class OpenPGPCertificate.OpenPGPComponentKey
equals, getAlgorithm, getCreationTime, getKeyComponent, getKeyIdentifier, getLatestSelfSignature, getPGPPublicKey, getVersion, hashCode, isCertificationKey, isCertificationKey, isEncryptionKey, isEncryptionKey, isSigningKey, isSigningKeyMethods inherited from class 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.OpenPGPComponentKeyReturn true, if thisOpenPGPCertificate.OpenPGPComponentKeyrepresents the primary key of anOpenPGPCertificate.- Specified by:
isPrimaryKeyin classOpenPGPCertificate.OpenPGPComponentKey- Returns:
- true if primary, false if subkey
-
toString
-
toDetailString
Description copied from class:OpenPGPCertificate.OpenPGPCertificateComponentReturn a detailed String representation of this component.- Specified by:
toDetailStringin classOpenPGPCertificate.OpenPGPCertificateComponent- Returns:
- detailed String representation
-
getKeySignatures
Return all subkey-binding and -revocation signatures on the subkey.- Returns:
- subkey signatures
-