public class KeyAndCertificateBean
extends java.lang.Object
Constructor and Description |
---|
KeyAndCertificateBean(iaik.pkcs.pkcs11.objects.Key key,
iaik.pkcs.pkcs11.objects.X509PublicKeyCertificate certificate)
Creates a new object that holds the given key and certificate.
|
Modifier and Type | Method and Description |
---|---|
iaik.pkcs.pkcs11.objects.X509PublicKeyCertificate |
getCertificate()
Returns the certificate.
|
iaik.pkcs.pkcs11.objects.Key |
getKey()
Returns the key.
|
void |
setCertificate(iaik.pkcs.pkcs11.objects.X509PublicKeyCertificate certificate)
Sets the certificate.
|
void |
setKey(iaik.pkcs.pkcs11.objects.Key key)
Sets the key.
|
public KeyAndCertificateBean(iaik.pkcs.pkcs11.objects.Key key, iaik.pkcs.pkcs11.objects.X509PublicKeyCertificate certificate)
key
- The key.certificate
- The certificate.public iaik.pkcs.pkcs11.objects.X509PublicKeyCertificate getCertificate()
public iaik.pkcs.pkcs11.objects.Key getKey()
public void setCertificate(iaik.pkcs.pkcs11.objects.X509PublicKeyCertificate certificate)
certificate
- The certificate.public void setKey(iaik.pkcs.pkcs11.objects.Key key)
key
- The key.Copyright © 2018 Agencia de Tecnología y Certificación Electrónica. All Rights Reserved.