Package org.bouncycastle.openpgp.api
Class OpenPGPCertificate.OpenPGPUserAttribute
java.lang.Object
org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPCertificateComponent
org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPIdentityComponent
org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPUserAttribute
- Enclosing class:
OpenPGPCertificate
public static class OpenPGPCertificate.OpenPGPUserAttribute
extends OpenPGPCertificate.OpenPGPIdentityComponent
A UserAttribute.
Use of UserAttributes is deprecated in RFC9580.
-
Constructor Summary
ConstructorsConstructorDescriptionOpenPGPUserAttribute
(PGPUserAttributeSubpacketVector userAttribute, OpenPGPCertificate.OpenPGPPrimaryKey primaryKey) -
Method Summary
Modifier and TypeMethodDescriptionReturn the underlyingPGPUserAttributeSubpacketVector
representing thisOpenPGPCertificate.OpenPGPUserAttribute
.toString()
Methods inherited from class org.bouncycastle.openpgp.api.OpenPGPCertificate.OpenPGPIdentityComponent
getCertificationBy, getCertificationBy, getKeyComponent, getLatestSelfSignature, getPrimaryKey, getRevocationBy, getRevocationBy, toDetailString
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
-
OpenPGPUserAttribute
public OpenPGPUserAttribute(PGPUserAttributeSubpacketVector userAttribute, OpenPGPCertificate.OpenPGPPrimaryKey primaryKey)
-
-
Method Details
-
getUserAttribute
Return the underlyingPGPUserAttributeSubpacketVector
representing thisOpenPGPCertificate.OpenPGPUserAttribute
.- Returns:
- user attribute subpacket vector
-
toString
-