public class SSSecurityKeyEntryImpl extends java.lang.Object implements SSSecurityKeyEntry
Title: Service Event Fabric Runtime
Description: Security key entry implementation.
Copyright: Copyright (c) 2019
Company: StreamScape Technologies
Constructor and Description |
---|
SSSecurityKeyEntryImpl(SSSecurityKeyAlgorithm algorithm,
java.lang.String name,
java.lang.String uuid,
long createdAt,
java.lang.String ownerName,
boolean isPublic,
javax.crypto.SecretKey secretKey,
java.security.PrivateKey privateKey,
java.security.PublicKey publicKey) |
Modifier and Type | Method and Description |
---|---|
SSSecurityKeyEntry |
copyWithoutKeys() |
SSSecurityKeyAlgorithm |
getAlgorithm() |
long |
getCreatedAt() |
java.lang.String |
getName() |
java.lang.String |
getOwnerName() |
java.security.PrivateKey |
getPrivateKey() |
java.security.PublicKey |
getPublicKey() |
javax.crypto.SecretKey |
getSecretKey() |
java.lang.String |
getUUID() |
boolean |
isPrivateKeyPresent() |
boolean |
isPublic() |
boolean |
isPublicKeyPresent() |
boolean |
isSecretKeyPresent() |
public SSSecurityKeyEntryImpl(SSSecurityKeyAlgorithm algorithm, java.lang.String name, java.lang.String uuid, long createdAt, java.lang.String ownerName, boolean isPublic, javax.crypto.SecretKey secretKey, java.security.PrivateKey privateKey, java.security.PublicKey publicKey)
public SSSecurityKeyAlgorithm getAlgorithm()
getAlgorithm
in interface SSSecurityKeyEntry
public java.lang.String getName()
getName
in interface SSSecurityKeyEntry
public java.lang.String getUUID()
getUUID
in interface SSSecurityKeyEntry
public long getCreatedAt()
getCreatedAt
in interface SSSecurityKeyEntry
public java.lang.String getOwnerName()
getOwnerName
in interface SSSecurityKeyEntry
public boolean isPublic()
isPublic
in interface SSSecurityKeyEntry
public javax.crypto.SecretKey getSecretKey()
getSecretKey
in interface SSSecurityKeyEntry
public java.security.PrivateKey getPrivateKey()
getPrivateKey
in interface SSSecurityKeyEntry
public java.security.PublicKey getPublicKey()
getPublicKey
in interface SSSecurityKeyEntry
public boolean isSecretKeyPresent()
isSecretKeyPresent
in interface SSSecurityKeyEntry
public boolean isPrivateKeyPresent()
isPrivateKeyPresent
in interface SSSecurityKeyEntry
public boolean isPublicKeyPresent()
isPublicKeyPresent
in interface SSSecurityKeyEntry
public SSSecurityKeyEntry copyWithoutKeys()
copyWithoutKeys
in interface SSSecurityKeyEntry
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.