Class AbstractKeyPairGeneratorFactory
java.lang.Object
se.swedenconnect.security.credential.container.keytype.AbstractKeyPairGeneratorFactory
- All Implemented Interfaces:
KeyPairGeneratorFactory
- Direct Known Subclasses:
EcKeyPairGeneratorFactory
,RsaKeyPairGeneratorFactory
public abstract class AbstractKeyPairGeneratorFactory
extends Object
implements KeyPairGeneratorFactory
Abstract base class for
KeyPairGeneratorFactory
.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Predicate telling whether this factory instance supports a particular key type (seeKeyGenType
).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface se.swedenconnect.security.credential.container.keytype.KeyPairGeneratorFactory
getKeyPairGenerator
-
Constructor Details
-
AbstractKeyPairGeneratorFactory
Constructor.- Parameters:
keyType
- the supported key type (seeKeyGenType
).
-
-
Method Details
-
supports
Predicate telling whether this factory instance supports a particular key type (seeKeyGenType
).- Specified by:
supports
in interfaceKeyPairGeneratorFactory
- Parameters:
keyType
- the requested key type name- Returns:
- true if this factory instance supports the specified key type and false otherwise
-