Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SoABiieYuNx4UdqYvZRVeuC6SihxgLrhLy9peHMHpTc (0.25 sec)

  1. pkg/serviceaccount/jwt_test.go

    -----END PUBLIC KEY-----`
    
    // Obtained by:
    //
    //  1. Serializing ecdsaPublicKey as DER
    //  2. Taking the SHA256 of the DER bytes
    //  3. URLSafe Base64-encoding the sha bytes
    const ecdsaKeyID = "SoABiieYuNx4UdqYvZRVeuC6SihxgLrhLy9peHMHpTc"
    
    func getPrivateKey(data string) interface{} {
    	key, err := keyutil.ParsePrivateKeyPEM([]byte(data))
    	if err != nil {
    		panic(fmt.Errorf("unexpected error parsing private key: %v", err))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top