Certificate Property
The certificate used for signing.
Syntax
public Certificate getCertificate(); public void setCertificate(Certificate certificate);
Remarks
This property specifies a certificate with private key.
This may be set instead of Key. This allows a Certificate object to be used instead of a DSAKey object. This certificate is used when calling Sign. The specified certificate must have a private key.
If both this property and Key are specified, Key will be used and this property will be ignored.