Package com.oracle.bmc.auth.internal
Class JWK
- java.lang.Object
-
- com.oracle.bmc.auth.internal.JWK
-
public final class JWK extends Object
Representation of a RSA public key in JSON Web Key (JWK) format.- See Also:
- JSON Web Key Specification
Class is immutable. @Immutable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlgorithm()
String
getKeyId()
String
getKeyType()
String
getModulus()
base64url encodedString
getPublicExponent()
base64url encodedString
getPublicKeyUse()
-
-
-
Method Detail
-
getKeyType
public String getKeyType()
- Returns:
- the kty (Key Type) for this key. Case sensitive, required.
- See Also:
- Key Type
-
getPublicKeyUse
public String getPublicKeyUse()
- Returns:
- the use (Public Key use) for this key. Optional.
- See Also:
- Public Key use
-
getAlgorithm
public String getAlgorithm()
- Returns:
- the alg (Algorithm} for this key. Optional.
- See Also:
- Algorithm
-
getKeyId
public String getKeyId()
- Returns:
- the kid (key ID) for this key. Case sensitive. Optional in spec, required in OPC.
- See Also:
- Key ID
-
getModulus
public String getModulus()
base64url encoded- Returns:
- the RSA modulus for this key. Required.
-
getPublicExponent
public String getPublicExponent()
base64url encoded- Returns:
- the RSA public exponent for this key. Required.
-
-