Android Question Certificates usage Example

Rabbit

Member
Licensed User
Longtime User
Hi,
Is there any example for certificate example usage?

the library is Encryption: but is there complete example for these functions?

Initialise (algorithm As String, mode As Int, key As java.security.Key)
Sign As Byte()
SIGNATURE_SIGN As Int
SIGNATURE_VERIFY As Int
Update (data() As Byte)
Verify (signature() As Byte) As Boolean
Version As Double [read only]


Regards,
 

Rabbit

Member
Licensed User
Longtime User
Hi Erel,
I checked the reference but still I need these answers plz:
1) The certificate type do I need to use PEM or CERT oor P12?
2) How I can extract the public key fro the cert?
3) How to extract the private key from my cert?
4) if I have chain of certs can I verify all of them as one cert?

Regards
 
Upvote 0

Rabbit

Member
Licensed User
Longtime User
Do you suggest work around to resolve this issue?
I need the certificate for the public key and verification from USER1<-CA->USER2

Regards,
 
Upvote 0
Top