Class TlsScope
- java.lang.Object
-
- de.xima.fc.certificate.provider.tls.TlsScope
-
- All Implemented Interfaces:
Serializable
public final class TlsScope extends Object implements Serializable
The TLS scope.- Since:
- 8.5.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTlsScope.Builderstatic classTlsScope.ScopeTypeThe type of TLS scope.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TlsScope.Builderbuilder()booleanequals(Object o)StringgetSubject()The subject of the TLS scope.TlsScope.ScopeTypegetType()The type of TLS scope.inthashCode()static TlsScopekeystore(Long keystoreId)Creates a TLS scope for a specific keystore.static TlsScopesystem()Creates a TLS scope for the whole system.static TlsScopetenant(Long tenantId)Creates a TLS scope for a specific tenant.StringtoString()
-
-
-
Method Detail
-
tenant
public static TlsScope tenant(Long tenantId)
Creates a TLS scope for a specific tenant.- Parameters:
tenantId- The ID of the tenant.- Returns:
- A TLS scope for the specified tenant.
-
keystore
public static TlsScope keystore(Long keystoreId)
Creates a TLS scope for a specific keystore.- Parameters:
keystoreId- The ID of the keystore.- Returns:
- A TLS scope for the specified keystore.
-
system
public static TlsScope system()
Creates a TLS scope for the whole system.- Returns:
- A TLS scope for the whole system.
-
builder
public static TlsScope.Builder builder()
-
getType
public TlsScope.ScopeType getType()
The type of TLS scope.
-
getSubject
public String getSubject()
-
-