PQ7Décédent

Vue de l’ensemble

‘PKCS7Detached’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: Signature.

PKCS#7 signature détachée pour PDF (ISO 32000-1:2008, §12.8.3.1.).

Cette classe fournit 18 méthodes pour travailler avec PKCS7Objets détectés dans les programmes Java. Les méthodologies disponibles comprennent: ‘PKCS6Detached’, ‘getCertificate’, get CerttificatChain', ‘getContactsInfo’, ' getCustomAppearance', ’getDate, ‘getLocation , 'GetName,, ‘PrivateKey ', ‘getsReason’, ‘‘getSubFilter et 5 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : 'certificates ; ‘certCert CertificateCchain; 'contact‘, cérence client : la datet, 4 et plus.

Propriétés

NameTypeAccessDescription
subFilterStringReadGets the sub filter.
privateKeyPrivateKeyReadReturns the private key from the loaded KeyStore.
certificateX509CertificateReadReturns the signer’s X.509 certificate from the loaded KeyStore.
certificateChainX509Certificate[]ReadReturns the certificate chain from the loaded KeyStore.
reasonStringReadReturns the signing reason.
locationStringReadReturns the signing location.
contactInfoStringReadReturns the contact info.
nameStringReadReturns the signer name override.
dateDateReadReturns the signing date.
customAppearanceSignatureCustomAppearanceReadReturns the custom appearance settings for the signature.

méthodes

SignatureDescription
PKCS7Detached(pfxPath: String, password: String)Creates a PKCS#7 detached signature from a PFX/P12 file.
PKCS7Detached(pfxStream: InputStream, password: String)Creates a PKCS#7 detached signature from a PFX/P12 stream.
getSubFilter()StringReturns the sub filter.
getPrivateKey()PrivateKeyReturns the private key from the loaded KeyStore.
getCertificate()X509CertificateReturns the signer’s X.509 certificate from the loaded KeyStore.
getCertificateChain()X509Certificate[]Returns the certificate chain from the loaded KeyStore.
getReason()StringReturns the signing reason.
setReason(reason: String)Sets the signing reason.
getLocation()StringReturns the signing location.
setLocation(location: String)Sets the signing location.
getContactInfo()StringReturns the contact info.
setContactInfo(contactInfo: String)Sets the contact info.
getName()StringReturns the signer name override.
setName(name: String)Sets the signer name override.
getDate()DateReturns the signing date.
setDate(date: Date)Sets the signing date.
getCustomAppearance()SignatureCustomAppearanceReturns the custom appearance settings for the signature.
setCustomAppearance(appearance: SignatureCustomAppearance)Sets the custom appearance settings for the signature.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français