Hi guys,
I have been studying about how to use digital certificate in B4J for 1 week and still unclear what I was doing is correct.
I have read a lot of articles but none giving me a clear picture.
Before I purchase an expensive digital certificate which valid for 1 year or getting a trial certificate valid for 1 month, I want to know:
I have been studying about how to use digital certificate in B4J for 1 week and still unclear what I was doing is correct.
I have read a lot of articles but none giving me a clear picture.
Before I purchase an expensive digital certificate which valid for 1 year or getting a trial certificate valid for 1 month, I want to know:
- how to retrieve any information from the certificate?
- what information I need to retrieve or could I retrieve?
I think I need serial number, issuer, subject, cert in base64, cert digest and validity from the certificate - can I use JavaObject only without calling/exporting the certificate with keytool or openssl?
- if #3 above is no, meaning I must export them from DER format to .cer, .crt or .pem file?
- is there any method to read the properties of a certificate using JavaObject?
If no then meaning I need to "trim" the unwanted text from the plain .pem file? - can I use keytool and/or openssl to create a selfsigned certificate that valid for signing a document?
I notice that the output certificate doesn't contain information such as Organization identifier and Email as required. - I need to create a PKCS#12 (.p12 or .pfx file) is it a keystore or is it also a digital certificate?
I think it is a certificate which embeded with a keystore inside it, am i right? - does this certificate store public and private keys?
- if #7 above is yes, how do I retrieve them?
- what is digital signature algorithm XAdES (XML Advanced Electronic Signature)?
Isn't it just suppose to be hashing by a "normal" algorithm such as SHA256?
Last edited: