be.fgov.ehealth.etee.crypto.policies
Class EncryptionCredential
java.lang.Object
be.fgov.ehealth.etee.crypto.policies.EncryptionCredential
public final class EncryptionCredential
- extends java.lang.Object
An encryption credential consists of a PrivateKey and the serial number of an encryption token.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static EncryptionCredential create(java.security.PrivateKey privateKey,
java.lang.String encryptionTokenSerialNumber)
- Factory method to create a new instance of
EncryptionCredential.
- Returns:
- A new instance of
EncryptionCredential
getPrivateKey
public java.security.PrivateKey getPrivateKey()
getEncryptionTokenSerialNumber
public java.lang.String getEncryptionTokenSerialNumber()
Copyright © 2018 eHealth. All Rights Reserved.