Key getSharedSecretKey ( JwtConsumerConfig config ) throws KeyException { if ( config == null ) { if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "JWT consumer config object is null" ) ; } return null ; } String sharedKey = config . getSharedKey ( ) ; return createKeyFromSharedKey ( sharedKey ) ; }
Creates a Key object from the shared key specified in the provided configuration .