be.fgov.ehealth.etee.crypto.encrypt
Class EncryptionToken
java.lang.Object
be.fgov.ehealth.etee.crypto.encrypt.EncryptionToken
- All Implemented Interfaces:
- java.io.Serializable
public class EncryptionToken
- extends java.lang.Object
- implements java.io.Serializable
This class is the eHealth EncryptionToken (aka ETK).
An ETK is an eHealth encryption token. It contains an encryption certificate, accompanied by an authentication certificate chain. The ETK
is signed by the ETK Registration Authority (ETK-RA).
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getEncoded
public final byte[] getEncoded()
- Returns:
- the binary ETK bytes.
getBase64Encoded
public final byte[] getBase64Encoded()
- Returns:
- The Base64 encoded format of the ETK
getCertificate
public final java.security.cert.X509Certificate getCertificate()
- Returns:
- the encryption certificate
getAuthenticationCertificate
public final java.security.cert.X509Certificate getAuthenticationCertificate()
- Returns:
- the authentication certificate
Copyright © 2018 eHealth. All Rights Reserved.