public abstract class AbstractRsaKeyProvider extends Object implements KeyProvider
Constructor and Description |
---|
AbstractRsaKeyProvider(RealmModel realm,
ComponentModel model) |
Modifier and Type | Method and Description |
---|---|
protected KeyWrapper |
createKeyWrapper(KeyPair keyPair,
X509Certificate certificate) |
protected KeyWrapper |
createKeyWrapper(KeyPair keyPair,
X509Certificate certificate,
List<X509Certificate> certificateChain) |
Stream<KeyWrapper> |
getKeysStream()
Returns the
KeyWrapper for a KeyProvider . |
protected abstract KeyWrapper |
loadKey(RealmModel realm,
ComponentModel model) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getKeys
public AbstractRsaKeyProvider(RealmModel realm, ComponentModel model)
protected abstract KeyWrapper loadKey(RealmModel realm, ComponentModel model)
public Stream<KeyWrapper> getKeysStream()
KeyProvider
KeyWrapper
for a KeyProvider
.getKeysStream
in interface KeyProvider
KeyWrapper
for a KeyProvider
.protected KeyWrapper createKeyWrapper(KeyPair keyPair, X509Certificate certificate)
protected KeyWrapper createKeyWrapper(KeyPair keyPair, X509Certificate certificate, List<X509Certificate> certificateChain)
Copyright © 2021 JBoss by Red Hat. All rights reserved.