Skip to content

Commit

Permalink
[FABG-924] Apply upstream
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandar Likic <aleksandar.likic@securekey.com>
  • Loading branch information
Aleksandar Likic committed Dec 7, 2019
1 parent fe2f155 commit ba12471
Show file tree
Hide file tree
Showing 136 changed files with 5,004 additions and 1,178 deletions.
2 changes: 1 addition & 1 deletion internal/github.com/hyperledger/fabric-ca/api/client.go
Expand Up @@ -15,7 +15,7 @@ import (
"time"

"github.com/cloudflare/cfssl/csr"
"github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric-ca/util"
"github.com/hyperledger/fabric-ca/util"
)

// RegistrationRequest for a new identity
Expand Down
7 changes: 7 additions & 0 deletions internal/github.com/hyperledger/fabric-ca/api/net.go
Expand Up @@ -22,6 +22,7 @@ package api

import (
"github.com/cloudflare/cfssl/signer"
"github.com/hyperledger/fabric/idemix"
)

/*
Expand All @@ -47,6 +48,12 @@ type EnrollmentRequestNet struct {
AttrReqs []*AttributeRequest `json:"attr_reqs,omitempty"`
}

// IdemixEnrollmentRequestNet is a request to enroll an identity and get idemix credential
type IdemixEnrollmentRequestNet struct {
*idemix.CredRequest `json:"request"`
CAName string `json:"caname"`
}

// ReenrollmentRequestNet is a request to reenroll an identity.
// This is useful to renew a certificate before it has expired.
type ReenrollmentRequestNet struct {
Expand Down

0 comments on commit ba12471

Please sign in to comment.