CPDFCertificateInfo class
Public certificate metadata returned by the native SDK.
example:
final certificate = await ComPDFKit.loadPkcs12Certificate(
'/path/to/certificate.p12',
'certificate-password',
);
print(certificate?.subject);
Constructors
- CPDFCertificateInfo({String? version, String? serialNumber, String? keyType, String? signatureAlgorithm, String? issuer, String? subject, String? validFrom, String? validTo, String? sha1Digest, String? md5Digest, bool isTrusted = false})
-
const
-
CPDFCertificateInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- issuer → String?
-
final
- isTrusted → bool
-
final
- keyType → String?
-
final
- md5Digest → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serialNumber → String?
-
final
- sha1Digest → String?
-
final
- signatureAlgorithm → String?
-
final
- subject → String?
-
final
- validFrom → String?
-
final
- validTo → String?
-
final
- version → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited