be.fgov.ehealth.etee.crypto.policies
Class EncryptionCredential

java.lang.Object
  extended by 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.


Method Summary
static EncryptionCredential create(java.security.PrivateKey privateKey, java.lang.String encryptionTokenSerialNumber)
          Factory method to create a new instance of EncryptionCredential.
 java.lang.String getEncryptionTokenSerialNumber()
           
 java.security.PrivateKey getPrivateKey()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.