Package org.xipki.pkcs11.wrapper
Class PKCS11KeyPair
- java.lang.Object
-
- org.xipki.pkcs11.wrapper.PKCS11KeyPair
-
public class PKCS11KeyPair extends Object
This class does not correspond to any PKCS#11 object. It is only a pair of a private key and a public key.- Author:
- Karl Scheibelhofer (SIC), Lijun Liao (xipki)
-
-
Constructor Summary
Constructors Constructor Description PKCS11KeyPair(long publicKey, long privateKey)Constructor that takes a public and a private key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetPrivateKey()Get the private key part of this key-pair.longgetPublicKey()Get the public key part of this key-pair.StringtoString()Returns a string representation of the current object.
-